File linux-2.6-debug-Wundef.patch of Package kernel
-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)