summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-03-14 22:50:03 +0000
committerdas <das@FreeBSD.org>2009-03-14 22:50:03 +0000
commit63352849623a7acf382be410cee858494d0192b1 (patch)
tree5691b56e09b9e6719a62ca3aef6ebef15c350e86 /gnu
parent8e6c20cc53bc3f491d598ab27bd4a9e219026667 (diff)
downloadFreeBSD-src-63352849623a7acf382be410cee858494d0192b1.zip
FreeBSD-src-63352849623a7acf382be410cee858494d0192b1.tar.gz
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.)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index 2281f74..d7ed8a8 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -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
OpenPOWER on IntegriCloud