diff options
author | johan <johan@FreeBSD.org> | 2004-02-24 19:23:33 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2004-02-24 19:23:33 +0000 |
commit | d5866454e3b31ddcccbdcadadebb42882e954d45 (patch) | |
tree | 3ab79dc23b5090459decbc2642fa3ba60186f95a /gnu/usr.bin/binutils/as | |
parent | b646484505c3341d21dc8d7ae28754c1c7d67d60 (diff) | |
download | FreeBSD-src-d5866454e3b31ddcccbdcadadebb42882e954d45.zip FreeBSD-src-d5866454e3b31ddcccbdcadadebb42882e954d45.tar.gz |
style.Makefile(5):
Use WARNS?= instead of WARNS=
For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.
Approved by: obrien (binutils maintainer)
Tested by: make universe
Diffstat (limited to 'gnu/usr.bin/binutils/as')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile.inc | 2 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile.inc0 | 1 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/as/ia64-freebsd/Makefile | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc b/gnu/usr.bin/binutils/as/Makefile.inc index 835b5e3..1570b15 100644 --- a/gnu/usr.bin/binutils/as/Makefile.inc +++ b/gnu/usr.bin/binutils/as/Makefile.inc @@ -1,4 +1,6 @@ # $FreeBSD$ +WARNS?= 2 + # BINDIR .include "${.CURDIR}/../../Makefile.inc" diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0 index ccd94ab..7e62e2a 100644 --- a/gnu/usr.bin/binutils/as/Makefile.inc0 +++ b/gnu/usr.bin/binutils/as/Makefile.inc0 @@ -15,7 +15,6 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ subsegs.c symbols.c write.c depend.c ehopt.c # DEO: why not used? #SRCS+= itbl-ops.c -WARNS= 2 CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/.. CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\" CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" diff --git a/gnu/usr.bin/binutils/as/ia64-freebsd/Makefile b/gnu/usr.bin/binutils/as/ia64-freebsd/Makefile index c507b3a..637e8cc 100644 --- a/gnu/usr.bin/binutils/as/ia64-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/ia64-freebsd/Makefile @@ -2,7 +2,7 @@ .include "${.CURDIR}/../Makefile.inc0" -WARNS= 0 +WARNS?= 0 .if ${TARGET_ARCH} != "ia64" NOMAN= true |