Dont use -Werror when building libbfd and gnu as on powerpc64 with clang

as there are warnings.

Reviewed by:    nwhitehorn
This commit is contained in:
Roman Divacky 2012-08-24 16:37:00 +00:00
parent 802db7b616
commit beaded8a1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239654
2 changed files with 5 additions and 0 deletions

View File

@ -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 \

View File

@ -3,6 +3,7 @@
ARCHS+= rs6000
DEFAULT_VECTOR= bfd_elf64_powerpc_vec
NO_WERROR.clang=
SRCS+= cpu-powerpc.c \
cpu-rs6000.c \