Do not overwrite user configuration
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 1 Feb 2009 16:10:47 +0000 (16:10 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 1 Feb 2009 16:10:47 +0000 (16:10 -0000)
package/Makefile.in

index 25aadf7a5b4a3f873153c038a872415b2ae8c389..c21705e75a786e95f4c01f6a7b4a67f23e9c10a4 100644 (file)
@@ -10,19 +10,19 @@ MAKE1:=$(HOSTMAKE) -j1
 MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
 
 ifeq ($(BR2_OPTIMIZE_0),y)
-TARGET_OPTIMIZATION=-O0
+TARGET_OPTIMIZATION+=-O0
 endif
 ifeq ($(BR2_OPTIMIZE_1),y)
-TARGET_OPTIMIZATION=-O1
+TARGET_OPTIMIZATION+=-O1
 endif
 ifeq ($(BR2_OPTIMIZE_2),y)
-TARGET_OPTIMIZATION=-O2
+TARGET_OPTIMIZATION+=-O2
 endif
 ifeq ($(BR2_OPTIMIZE_3),y)
-TARGET_OPTIMIZATION=-O3
+TARGET_OPTIMIZATION+=-O3
 endif
 ifeq ($(BR2_OPTIMIZE_S),y)
-TARGET_OPTIMIZATION=-Os
+TARGET_OPTIMIZATION+=-Os
 endif
 ifeq ($(BR2_DEBUG_1),y)
 TARGET_DEBUGGING=-g1