2008-06-06 01:01:00 +08:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
|
|
|
@@ -508,6 +508,9 @@
|
2007-10-04 10:26:27 +08: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,)
|
|
|
|
|