Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2020 13:24:44 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365456 - head/sys/conf
Message-ID:  <202009081324.088DOi1Z088596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009081324.088DOi1Z088596>