2009-02-09 03:33:57 +08:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2008-05-19 04:23:20 +08:00
|
|
|
@@ -507,6 +507,9 @@ CFLAGS += $(call cc-option, -fn
|
2005-10-24 05:06:51 +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,)
|
|
|
|
|