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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to