svn commit: r365456 - head/sys/conf

Mitchell Horne mhorne at FreeBSD.org
Tue Sep 8 13:24:45 UTC 2020


Author: mhorne
Date: Tue Sep  8 13:24:44 2020
New Revision: 365456
URL: https://svnweb.freebsd.org/changeset/base/365456

Log:
  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

Modified:
  head/sys/conf/kern.opts.mk

Modified: head/sys/conf/kern.opts.mk
==============================================================================
--- head/sys/conf/kern.opts.mk	Tue Sep  8 13:21:13 2020	(r365455)
+++ head/sys/conf/kern.opts.mk	Tue Sep  8 13:24:44 2020	(r365456)
@@ -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"


More information about the svn-src-head mailing list