Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 21:56:08 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202596 - in head: share/mk sys/conf
Message-ID:  <201001182156.o0ILu8iF089189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Jan 18 21:56:08 2010
New Revision: 202596
URL: http://svn.freebsd.org/changeset/base/202596

Log:
  Undo r169961, removing WITH_GCC3, added as a temporary workaround three
  years ago.

Modified:
  head/share/mk/bsd.sys.mk
  head/sys/conf/kern.mk

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk	Mon Jan 18 21:55:12 2010	(r202595)
+++ head/share/mk/bsd.sys.mk	Mon Jan 18 21:56:08 2010	(r202596)
@@ -55,9 +55,7 @@ CWARNFLAGS	+=	-Wchar-subscripts -Winline
 # XXX always get it right.
 CWARNFLAGS	+=	-Wno-uninitialized
 .  endif
-.  if !defined(WITH_GCC3)
 CWARNFLAGS	+=	-Wno-pointer-sign
-.  endif
 . endif
 
 . if defined(FORMAT_AUDIT)

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Mon Jan 18 21:55:12 2010	(r202595)
+++ head/sys/conf/kern.mk	Mon Jan 18 21:56:08 2010	(r202596)
@@ -12,10 +12,7 @@ CWARNFLAGS=
 .else
 CWARNFLAGS?=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-		${_wundef} ${_Wno_pointer_sign} -fformat-extensions
-.if !defined(WITH_GCC3)
-_Wno_pointer_sign=-Wno-pointer-sign
-.endif
+		${_wundef} -Wno-pointer-sign -fformat-extensions
 .if !defined(NO_UNDEF)
 _wundef=	-Wundef
 .endif



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