From d06639fad81b27ac83b12ae6792dd3fcf12294cc Mon Sep 17 00:00:00 2001 From: rdivacky Date: Fri, 24 Aug 2012 16:37:00 +0000 Subject: Dont use -Werror when building libbfd and gnu as on powerpc64 with clang as there are warnings. Reviewed by: nwhitehorn --- gnu/usr.bin/binutils/as/Makefile | 4 ++++ gnu/usr.bin/binutils/libbfd/Makefile.powerpc64 | 1 + 2 files changed, 5 insertions(+) (limited to 'gnu') 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 \ -- cgit v1.1