PERFORCE change 121597 for review
John Baldwin
jhb at FreeBSD.org
Wed Jun 13 19:24:03 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=121597
Change 121597 by jhb at jhb_mutex on 2007/06/13 19:23:42
IFC: WITH_GCC3.
Affected files ...
.. //depot/projects/smpng/sys/conf/kern.mk#20 integrate
Differences ...
==== //depot/projects/smpng/sys/conf/kern.mk#20 (text+ko) ====
@@ -1,4 +1,4 @@
-# $FreeBSD: src/sys/conf/kern.mk,v 1.51 2007/05/19 04:45:54 kan Exp $
+# $FreeBSD: src/sys/conf/kern.mk,v 1.52 2007/05/24 21:53:42 obrien Exp $
#
# Warning flags for compiling the kernel and components of the kernel.
@@ -12,7 +12,10 @@
.else
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
- ${_wundef} -Wno-pointer-sign -fformat-extensions
+ ${_wundef} ${_Wno_pointer_sign} -fformat-extensions
+.if !defined(WITH_GCC3)
+_Wno_pointer_sign=-Wno-pointer-sign
+.endif
.if !defined(NO_UNDEF)
_wundef= -Wundef
.endif
More information about the p4-projects
mailing list