From f13cb8ed2bd4961a4d8af8a44bbd063189243811 Mon Sep 17 00:00:00 2001 From: Ruslan Bukin Date: Wed, 12 Apr 2017 10:40:30 +0000 Subject: [PATCH] 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 --- sys/conf/kern.opts.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk index 094163157e0..1e661186c9d 100644 --- a/sys/conf/kern.opts.mk +++ b/sys/conf/kern.opts.mk @@ -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"