diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-06-02 08:10:57 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-06-02 08:10:57 +0000 |
| commit | b9c19cc24082fefe6d14827dd1abe76f1e41b792 (patch) | |
| tree | eaaf0ac9b2a3db8bcad98d1e3b6496a363700ecf | |
| parent | 3c76d0dc25ec505e82930cc421436a4e12a1d8db (diff) | |
Notes
| -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 25c7056cd0fb..9c84f2978773 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 |
