diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2012-08-24 16:37:00 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2012-08-24 16:37:00 +0000 |
commit | d06639fad81b27ac83b12ae6792dd3fcf12294cc (patch) | |
tree | a101c4263c31bd0d9b36ceb57465b4677a2b6787 /gnu | |
parent | d1b3a44c08c5561d93535a156fc499d01898a210 (diff) | |
download | FreeBSD-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/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile.powerpc64 | 1 |
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 \ |