summaryrefslogtreecommitdiffstats
path: root/toolchain/sstrip/sstrip.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-10-29 21:00:26 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-10-29 21:00:26 +0200
commit3be496834375256f15cb98812d92f9b3d6fcb3a7 (patch)
tree6bed2ea24aa272d6f762928e5fdc41c7afe4471c /toolchain/sstrip/sstrip.mk
parentdf3e367c5b6253ebb1ca2de6b97b662793bdb5f3 (diff)
downloadbuildroot-novena-3be496834375256f15cb98812d92f9b3d6fcb3a7.tar.gz
buildroot-novena-3be496834375256f15cb98812d92f9b3d6fcb3a7.zip
Optimize (-O2) host binaries by default
Default HOST_CFLAGS to -O2, so host tools (like the cross compiler) are built with optimization by default. Based on a patch by Will Newton <will.newton@gmail.com>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/sstrip/sstrip.mk')
-rw-r--r--toolchain/sstrip/sstrip.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/sstrip/sstrip.mk b/toolchain/sstrip/sstrip.mk
index 48abbaa50..f387e2d9c 100644
--- a/toolchain/sstrip/sstrip.mk
+++ b/toolchain/sstrip/sstrip.mk
@@ -16,7 +16,7 @@ SSTRIP_HOST:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
$(SSTRIP_HOST): $(SSTRIP_SOURCE_FILE)
mkdir -p $(@D) $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin
- $(HOSTCC) $(CFLAGS_FOR_BUILD) $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST)
+ $(HOSTCC) $(HOST_CFLAGS) $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST)
ln -snf ../../bin/$(REAL_GNU_TARGET_NAME)-sstrip \
$(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/sstrip
ln -snf $(REAL_GNU_TARGET_NAME)-sstrip \