Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 22:50:03 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189834 - in head: gnu/usr.bin/cc usr.sbin/wpa
Message-ID:  <200903142250.n2EMo3J0010193@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903142250.n2EMo3J0010193>