aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-03-14 22:50:03 +0000
committerDavid Schultz <das@FreeBSD.org>2009-03-14 22:50:03 +0000
commit14b55f2f95324d2260d96320a15e0832f0a23a00 (patch)
tree5691b56e09b9e6719a62ca3aef6ebef15c350e86
parenta71f46d368d9fcfa6966e7e15745f095da1a03e0 (diff)
downloadsrc-14b55f2f95324d2260d96320a15e0832f0a23a00.tar.gz
src-14b55f2f95324d2260d96320a15e0832f0a23a00.zip
Notes
-rw-r--r--gnu/usr.bin/cc/Makefile.inc1
-rw-r--r--usr.sbin/wpa/Makefile.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index 2281f74de1e8..d7ed8a821806 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
diff --git a/usr.sbin/wpa/Makefile.inc b/usr.sbin/wpa/Makefile.inc
index 2f9b9cee174c..0d20034f6bc9 100644
--- a/usr.sbin/wpa/Makefile.inc
+++ b/usr.sbin/wpa/Makefile.inc
@@ -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>