summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-06-09 19:47:30 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-06-09 19:47:30 +0000
commitd90b849335985b5cc6970fd22a6bd6af1c21d6e5 (patch)
tree10f23e0eaf262ed62739905fd2ba944cad714bad
parenta630391c8cd1d577cc64ac272333b2264dbcfe7d (diff)
downloadFreeBSD-src-d90b849335985b5cc6970fd22a6bd6af1c21d6e5.zip
FreeBSD-src-d90b849335985b5cc6970fd22a6bd6af1c21d6e5.tar.gz
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.
-rw-r--r--sys/conf/Makefile.powerpc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index e4cd85f..725f3c7 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -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)
OpenPOWER on IntegriCloud