svn commit: r189834 - in head: gnu/usr.bin/cc usr.sbin/wpa
David Schultz
das at FreeBSD.org
Sat Mar 14 15:50:04 PDT 2009
Author: das
Date: Sat Mar 14 22:50:03 2009
New Revision: 189834
URL: http://svn.freebsd.org/changeset/base/189834
Log:
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.)
Modified:
head/gnu/usr.bin/cc/Makefile.inc
head/usr.sbin/wpa/Makefile.inc
Modified: head/gnu/usr.bin/cc/Makefile.inc
==============================================================================
--- head/gnu/usr.bin/cc/Makefile.inc Sat Mar 14 21:59:12 2009 (r189833)
+++ head/gnu/usr.bin/cc/Makefile.inc Sat Mar 14 22:50:03 2009 (r189834)
@@ -18,6 +18,7 @@ GCC_TARGET= ${TARGET_ARCH}-undermydesk-f
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
Modified: head/usr.sbin/wpa/Makefile.inc
==============================================================================
--- head/usr.sbin/wpa/Makefile.inc Sat Mar 14 21:59:12 2009 (r189833)
+++ head/usr.sbin/wpa/Makefile.inc Sat Mar 14 22:50:03 2009 (r189834)
@@ -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>
More information about the svn-src-head
mailing list