diff options
author | Rob Landley <rob@landley.net> | 2006-08-30 16:50:00 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-30 16:50:00 +0000 |
commit | f5bbc692a0329ee34f1644ac42efa5e3a8c48296 (patch) | |
tree | 6a0404186ba6e3d99735dd93fd5ce726b5f22503 | |
parent | 1fdd83f8979cff7875de53dfa3f99bd7d9ac838d (diff) | |
download | busybox-w32-f5bbc692a0329ee34f1644ac42efa5e3a8c48296.tar.gz busybox-w32-f5bbc692a0329ee34f1644ac42efa5e3a8c48296.tar.bz2 busybox-w32-f5bbc692a0329ee34f1644ac42efa5e3a8c48296.zip |
Bernhard Fischer complained about moving --sort-common.
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -236,7 +236,7 @@ ifeq ($(strip $(shell [ $(CC_MAJOR) -ge 4 -a $(CC_MINOR) -ge 1 ] ; echo $$?)),0) | |||
236 | endif # gcc-4.1 and beyond | 236 | endif # gcc-4.1 and beyond |
237 | endif | 237 | endif |
238 | OPTIMIZATION+=$(call check_cc,$(CC),-fomit-frame-pointer,) | 238 | OPTIMIZATION+=$(call check_cc,$(CC),-fomit-frame-pointer,) |
239 | OPTIMIZATION+=$(call check_cc,$(CC),-ffunction-sections -fdata-sections,) | 239 | CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,) |
240 | 240 | ||
241 | # | 241 | # |
242 | #-------------------------------------------------------- | 242 | #-------------------------------------------------------- |
@@ -288,7 +288,7 @@ ifeq ($(strip $(CONFIG_STATIC)),y) | |||
288 | PROG_CFLAGS += $(call check_cc,$(CC),-static,) | 288 | PROG_CFLAGS += $(call check_cc,$(CC),-static,) |
289 | else | 289 | else |
290 | ifneq ($(strip $(CONFIG_DEBUG)),y) | 290 | ifneq ($(strip $(CONFIG_DEBUG)),y) |
291 | CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,) | 291 | OPTIMIZATION+=$(call check_cc,$(CC),-ffunction-sections -fdata-sections,) |
292 | CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,) | 292 | CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,) |
293 | endif | 293 | endif |
294 | endif | 294 | endif |