Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > d0a35cd31c1125e2132804d68547073d > files > 477

kernel-2.6.18-194.26.1.el5.src.rpm


-Wundef
-Werror-implicit-function-declaration

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.17.noarch/Makefile~	2006-08-19 23:22:50.000000000 -0400
+++ linux-2.6.17.noarch/Makefile	2006-08-19 23:23:06.000000000 -0400
@@ -308,7 +308,7 @@ LINUXINCLUDE    := -Iinclude \
 CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
 
 CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-                   -fno-strict-aliasing -fno-common
+                   -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration
 AFLAGS          := -D__ASSEMBLY__
 
 # Read KERNELRELEASE from include/config/kernel.release (if it exists)