svn commit: trunk/busybox

landley at busybox.net landley at busybox.net
Wed Aug 30 16:50:01 UTC 2006


Author: landley
Date: 2006-08-30 09:50:00 -0700 (Wed, 30 Aug 2006)
New Revision: 16018

Log:
Bernhard Fischer complained about moving --sort-common.


Modified:
   trunk/busybox/Rules.mak


Changeset:
Modified: trunk/busybox/Rules.mak
===================================================================
--- trunk/busybox/Rules.mak	2006-08-29 21:46:10 UTC (rev 16017)
+++ trunk/busybox/Rules.mak	2006-08-30 16:50:00 UTC (rev 16018)
@@ -236,7 +236,7 @@
 endif # gcc-4.1 and beyond
 endif
 OPTIMIZATION+=$(call check_cc,$(CC),-fomit-frame-pointer,)
-OPTIMIZATION+=$(call check_cc,$(CC),-ffunction-sections -fdata-sections,)
+CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,)
 
 #
 #--------------------------------------------------------
@@ -288,7 +288,7 @@
     PROG_CFLAGS += $(call check_cc,$(CC),-static,)
 else
     ifneq ($(strip $(CONFIG_DEBUG)),y)
-        CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,)
+        OPTIMIZATION+=$(call check_cc,$(CC),-ffunction-sections -fdata-sections,)
         CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,)
     endif
 endif




More information about the busybox-cvs mailing list