Disable fformat-extensions for RISC-V target as GCC 6.1 external compiler

has no support for that.

Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D10348
This commit is contained in:
Ruslan Bukin 2017-04-12 10:40:30 +00:00
parent 370bf3020d
commit f13cb8ed2b

View file

@ -74,6 +74,10 @@ BROKEN_OPTIONS+= CDDL ZFS SSP
BROKEN_OPTIONS+= ZFS
.endif
.if ${MACHINE_CPUARCH} == "riscv"
BROKEN_OPTIONS+= FORMAT_EXTENSIONS
.endif
# Things that don't work because the kernel doesn't have the support
# for them.
.if ${MACHINE} != "i386" && ${MACHINE} != "amd64"