svn commit: r222898 - head/sys/conf

Nathan Whitehorn nwhitehorn at FreeBSD.org
Thu Jun 9 19:47:31 UTC 2011


Author: nwhitehorn
Date: Thu Jun  9 19:47:30 2011
New Revision: 222898
URL: http://svn.freebsd.org/changeset/base/222898

Log:
  Add -Wa,-many to CFLAGS on PowerPC. This aids in building a kernel using
  clang, which would otherwise complain about some 64-bit bridge mode
  instructions.

Modified:
  head/sys/conf/Makefile.powerpc

Modified: head/sys/conf/Makefile.powerpc
==============================================================================
--- head/sys/conf/Makefile.powerpc	Thu Jun  9 16:30:13 2011	(r222897)
+++ head/sys/conf/Makefile.powerpc	Thu Jun  9 19:47:30 2011	(r222898)
@@ -35,7 +35,7 @@ LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
 
 INCLUDES+= -I$S/contrib/libfdt
 
-CFLAGS+= -msoft-float
+CFLAGS+= -msoft-float -Wa,-many
 
 DDB_ENABLED!=	grep DDB opt_ddb.h || true
 .if !empty(DDB_ENABLED)


More information about the svn-src-head mailing list