Fix build breakage due to the interplay between r189801 and r189824.

In particular, vendor sources that aren't ready for gnu99 should
still be compiled with gnu89. (Before r189824, these would have
generated warnings if you tried to compile them in gnu99 mode,
but the warnings went unheeded due to -Wno-error.)
This commit is contained in:
David Schultz 2009-03-14 22:50:03 +00:00
parent a71f46d368
commit 14b55f2f95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189834
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ GCC_TARGET= ${TARGET_ARCH}-undermydesk-freebsd
CFLAGS+= -DIN_GCC -DHAVE_CONFIG_H
CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
#CFLAGS+= -DWANT_COMPILER_INVARIANTS
CSTD?= gnu89
# If building 64-bit longs for the i386, "_LARGE_LONG" should also be defined
# to get the proper sizes in limits.h

View File

@ -24,4 +24,6 @@ CFLAGS+=-I${WPA_DISTDIR}/src/utils
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
CSTD= gnu89 # XXX
.include <bsd.own.mk>