From bc42dacb0ecbac69ed66d329f756f9b7862aad79 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Tue, 8 Sep 2020 13:24:44 +0000 Subject: [PATCH] RISC-V: enable MK_FORMAT_EXTENSIONS This option was marked as broken because our riscv64-xtoolchain-gcc package lacked support. Since we are moving away from xtoolchain gcc in favor of freebsd-gcc9, there should be no issue in enabling this option by default. Notably, this enables -Wformat errors. Reviewed by: kp, jhb Differential Revision: https://reviews.freebsd.org/D26320 --- sys/conf/kern.opts.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk index d44d7ee404d..aa51c2007bd 100644 --- a/sys/conf/kern.opts.mk +++ b/sys/conf/kern.opts.mk @@ -80,10 +80,6 @@ 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"