diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-09 19:47:30 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-09 19:47:30 +0000 |
commit | d90b849335985b5cc6970fd22a6bd6af1c21d6e5 (patch) | |
tree | 10f23e0eaf262ed62739905fd2ba944cad714bad /sys/conf | |
parent | a630391c8cd1d577cc64ac272333b2264dbcfe7d (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.powerpc | 2 |
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) |