Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 27922b4260f65d317aabda37e42bbbff > files > 578

kernel-2.6.18-238.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)