Tune WARNS for Alpha.

This commit is contained in:
obrien 2002-03-14 02:24:25 +00:00
parent 9116fd1a97
commit 2ca8fb58ab
3 changed files with 10 additions and 1 deletions

View File

@ -18,8 +18,10 @@ RELTOP:= ..
RELSRC= ${RELTOP}/../../../contrib/binutils
SRCDIR= ${.CURDIR}/${RELSRC}
.if (${TARGET_ARCH} == "alpha")
WARNS= 2
.endif
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I.
.if exists(${.CURDIR}/${BINUTIL_ARCH})
CFLAGS+= -I${.CURDIR}/${BINUTIL_ARCH}

View File

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

View File

@ -10,6 +10,9 @@ SRCS+= archive.c archive64.c archures.c bfd.c binary.c cache.c \
hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
targmatch.h dwarf1.c dwarf2.c config.h
.if (${TARGET_ARCH} == "alpha")
WARNS= 2
.endif
CFLAGS+= -I${SRCDIR}/bfd
CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"