diff options
author | obrien <obrien@FreeBSD.org> | 2003-06-02 08:10:57 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-06-02 08:10:57 +0000 |
commit | 5c52044b3d5b2bf3006544165507eef192230ab0 (patch) | |
tree | eaaf0ac9b2a3db8bcad98d1e3b6496a363700ecf | |
parent | fae63dbdaf41dd173ad2ac93a0f59f2179ea7d2b (diff) | |
download | FreeBSD-src-5c52044b3d5b2bf3006544165507eef192230ab0.zip FreeBSD-src-5c52044b3d5b2bf3006544165507eef192230ab0.tar.gz |
I got a bazzar bug report
-rw-r--r-- | share/mk/bsd.sys.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 25c7056..9c84f29 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -8,7 +8,7 @@ # for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 -CSTD ?= c99 +CSTD ?= .if ${CSTD} != "" . if ${CSTD} == "k&r" CFLAGS += -traditional @@ -44,7 +44,7 @@ CFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-al #. if ${WARNS} > 4 # BDECFLAGS . if ${WARNS} > 5 -. if defined(CSTD) +. if ${CSTD} != "" CFLAGS += -pedantic . endif CFLAGS += -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls |