Explorar el Código

Use the gcc 3.4 -funit-at-a-time optimization when available

Eric Andersen hace 20 años
padre
commit
1b44e1b2bb
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Rules.mak

+ 3 - 1
Rules.mak

@@ -170,8 +170,10 @@ ifeq ($(strip $(TARGET_ARCH)),cris)
 	PICFLAG=-fpic
 	PICFLAG=-fpic
 endif
 endif
 
 
-# use '-Os' optimization if available, else use -O2, allow Config to override
+# Use '-Os' optimization if available, else use -O2, allow Config to override
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
+# Use the gcc 3.4 -funit-at-a-time optimization when available
+OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
 
 
 
 
 # Add a bunch of extra pedantic annoyingly strict checks
 # Add a bunch of extra pedantic annoyingly strict checks