summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/as
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-14 02:24:25 +0000
committerobrien <obrien@FreeBSD.org>2002-03-14 02:24:25 +0000
commit2ca8fb58ab3c42d1ee716cc3eba1e2e2d6709be7 (patch)
tree7b6e6a7228aee627b026388e63d76e804c7346e8 /gnu/usr.bin/binutils/as
parent9116fd1a97d7097f33fba5ba97f802e1215dbffd (diff)
downloadFreeBSD-src-2ca8fb58ab3c42d1ee716cc3eba1e2e2d6709be7.zip
FreeBSD-src-2ca8fb58ab3c42d1ee716cc3eba1e2e2d6709be7.tar.gz
Tune WARNS for Alpha.
Diffstat (limited to 'gnu/usr.bin/binutils/as')
-rw-r--r--gnu/usr.bin/binutils/as/Makefile.inc04
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0
index 5dd189b..0fd86c2 100644
--- a/gnu/usr.bin/binutils/as/Makefile.inc0
+++ b/gnu/usr.bin/binutils/as/Makefile.inc0
@@ -13,7 +13,11 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
input-scrub.c listing.c literal.c macro.c messages.c \
output-file.c read.c sb.c stabs.c \
subsegs.c symbols.c write.c depend.c ehopt.c
+.if (${TARGET_ARCH} == "alpha")
+WARNS= 0
+.else
WARNS= 2
+.endif
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
OpenPOWER on IntegriCloud