kernel gcc34 patch

Craig Dooley craig at xlnx-x.net
Mon Dec 29 12:22:01 PST 2003


This patch lets the kernel be built with gcc34.  It builds with gcc295
with this patch, but I have not tried it.  The manpage for gcc2.95 has
no mention of -fformat-extensions though, so I dont think it should
hurt anything.

-Craig
-- 
------------------------------------------------------------------------
Craig Dooley                                            craig at xxxxxxxxxx
------------------------------------------------------------------------
Index: sys/conf/bsd.kern.mk
===================================================================
RCS file: /src/dcvs/src/sys/conf/bsd.kern.mk,v
retrieving revision 1.2
diff -u -r1.2 bsd.kern.mk
--- sys/conf/bsd.kern.mk	15 Nov 2003 21:05:40 -0000	1.2
+++ sys/conf/bsd.kern.mk	29 Dec 2003 19:28:14 -0000
@@ -10,7 +10,7 @@
 #
 CWARNFLAGS?=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-		-fformat-extensions -ansi
+		-ansi
 #
 # The following flags are next up for working on:
 #	-W




More information about the Submit mailing list