2008-05-18 23:24:51 +03:00
|
|
|
Index: linux-2.6.23.17/Makefile
|
2007-10-04 05:26:27 +03:00
|
|
|
===================================================================
|
2008-05-18 23:24:51 +03:00
|
|
|
--- linux-2.6.23.17.orig/Makefile
|
|
|
|
+++ linux-2.6.23.17/Makefile
|
|
|
|
@@ -508,6 +508,9 @@ CFLAGS += $(call cc-option, -fn
|
2007-10-04 05:26:27 +03:00
|
|
|
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
|
|
|
|
CHECKFLAGS += $(NOSTDINC_FLAGS)
|
|
|
|
|
|
|
|
+# improve gcc optimization
|
|
|
|
+CFLAGS += $(call cc-option,-funit-at-a-time,)
|
|
|
|
+
|
|
|
|
# warn about C99 declaration after statement
|
|
|
|
CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
|
|
|
|
|