svn commit: r268477 - head/share/mk

Warner Losh imp at FreeBSD.org
Thu Jul 10 00:15:56 UTC 2014


Author: imp
Date: Thu Jul 10 00:15:55 2014
New Revision: 268477
URL: http://svnweb.freebsd.org/changeset/base/268477

Log:
  Now that pc98 no longer needs gcc to compile boot2, remove the special
  case and treat it just like i386.

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Thu Jul 10 00:15:50 2014	(r268476)
+++ head/share/mk/src.opts.mk	Thu Jul 10 00:15:55 2014	(r268477)
@@ -205,14 +205,7 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_FULL C
 .if ${__T} == "amd64" || ${__T} == "arm" || ${__T} == "armv6" || \
     ${__T} == "armv6hf" || ${__T} == "i386"
 __DEFAULT_YES_OPTIONS+=CLANG_IS_CC
-__DEFAULT_NO_OPTIONS+=GNUCXX
-# The pc98 bootloader requires gcc to build and so we must leave gcc enabled
-# for pc98 for now.
-.if ${__TT} == "pc98"
-__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP
-.else
-__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP
-.endif
+__DEFAULT_NO_OPTIONS+=GNUCXX GCC GCC_BOOTSTRAP
 .else
 # If clang is not cc, then build gcc by default
 __DEFAULT_NO_OPTIONS+=CLANG_IS_CC CLANG CLANG_BOOTSTRAP


More information about the svn-src-head mailing list