summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2012-08-24 16:37:00 +0000
committerrdivacky <rdivacky@FreeBSD.org>2012-08-24 16:37:00 +0000
commitd06639fad81b27ac83b12ae6792dd3fcf12294cc (patch)
treea101c4263c31bd0d9b36ceb57465b4677a2b6787 /gnu
parentd1b3a44c08c5561d93535a156fc499d01898a210 (diff)
downloadFreeBSD-src-d06639fad81b27ac83b12ae6792dd3fcf12294cc.zip
FreeBSD-src-d06639fad81b27ac83b12ae6792dd3fcf12294cc.tar.gz
Dont use -Werror when building libbfd and gnu as on powerpc64 with clang
as there are warnings. Reviewed by: nwhitehorn
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/as/Makefile4
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.powerpc641
2 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile b/gnu/usr.bin/binutils/as/Makefile
index 6480e76..1543bfb 100644
--- a/gnu/usr.bin/binutils/as/Makefile
+++ b/gnu/usr.bin/binutils/as/Makefile
@@ -8,6 +8,10 @@
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
+.if ${TARGET_ARCH} == "powerpc64"
+NO_WERROR.clang=
+.endif
+
PROG= as
SRCS+= app.c \
as.c \
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.powerpc64 b/gnu/usr.bin/binutils/libbfd/Makefile.powerpc64
index d65e3d1..a32e95d 100644
--- a/gnu/usr.bin/binutils/libbfd/Makefile.powerpc64
+++ b/gnu/usr.bin/binutils/libbfd/Makefile.powerpc64
@@ -3,6 +3,7 @@
ARCHS+= rs6000
DEFAULT_VECTOR= bfd_elf64_powerpc_vec
+NO_WERROR.clang=
SRCS+= cpu-powerpc.c \
cpu-rs6000.c \
OpenPOWER on IntegriCloud