aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-03-30 04:04:47 +0000
committerNicolas Thill <nico@openwrt.org>2010-03-30 04:04:47 +0000
commit18c49489343186040890da63d8b33c9f21de4210 (patch)
tree0939703fe7cf0cf3d4c5deb199f06ad3f29f0437
parent5e7f1abfe7a1ebc22bc73d11a56a2b00259b9e6f (diff)
downloadupstream-18c49489343186040890da63d8b33c9f21de4210.tar.gz
upstream-18c49489343186040890da63d8b33c9f21de4210.tar.bz2
upstream-18c49489343186040890da63d8b33c9f21de4210.zip
fix path to libgcc.a in LIBGCC_S
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20593 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index f913d9856a..0cb72ac6bc 100644
--- a/rules.mk
+++ b/rules.mk
@@ -104,7 +104,7 @@ TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(PATH)
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3)
TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
-LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/lib -lgcc_s,$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.a))
+LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/lib -lgcc_s,$(wildcard $(TOOLCHAIN_DIR)/usr/lib/gcc/*/*/libgcc.a))
ifndef DUMP
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)