diff options
author | ed <ed@FreeBSD.org> | 2010-01-02 09:58:07 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-02 09:58:07 +0000 |
commit | 09818ac28e064437e7ab61eb0cd30245d17d27ea (patch) | |
tree | 040818bcab6b7921d3cb5cb2ff04c4d488e8d3ea /lib/csu | |
parent | b1c1be30d7f9c5907f81c3cacba28c6d7de3d805 (diff) | |
download | FreeBSD-src-09818ac28e064437e7ab61eb0cd30245d17d27ea.zip FreeBSD-src-09818ac28e064437e7ab61eb0cd30245d17d27ea.tar.gz |
Build lib/ with WARNS=6 by default.
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.
I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/csu/arm/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/i386-elf/Makefile | 1 | ||||
-rw-r--r-- | lib/csu/mips/Makefile | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc index 3545446..51e9fdf 100644 --- a/lib/csu/Makefile.inc +++ b/lib/csu/Makefile.inc @@ -1,3 +1,5 @@ # $FreeBSD$ SSP_CFLAGS= + +WARNS?= 6 diff --git a/lib/csu/arm/Makefile b/lib/csu/arm/Makefile index 097f82d..da0eb12 100644 --- a/lib/csu/arm/Makefile +++ b/lib/csu/arm/Makefile @@ -9,6 +9,8 @@ CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include +WARNS?= 2 + all: ${OBJS} CLEANFILES= ${OBJS} diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile index c2af118..8e6f50d 100644 --- a/lib/csu/i386-elf/Makefile +++ b/lib/csu/i386-elf/Makefile @@ -8,7 +8,6 @@ FILESOWN= ${LIBOWN} FILESGRP= ${LIBGRP} FILESMODE= ${LIBMODE} FILESDIR= ${LIBDIR} -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include CLEANFILES= ${FILES} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o diff --git a/lib/csu/mips/Makefile b/lib/csu/mips/Makefile index 097f82d..da0eb12 100644 --- a/lib/csu/mips/Makefile +++ b/lib/csu/mips/Makefile @@ -9,6 +9,8 @@ CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include +WARNS?= 2 + all: ${OBJS} CLEANFILES= ${OBJS} |