summaryrefslogtreecommitdiff
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
commit18035964c7cd34235007541fadf793ba4262b6a2 (patch)
tree0533a48289dbd58d75ca550f2aae7832b22d65af
parent30edff3c2f5d9c8019217f087b5ddb0cd3caade9 (diff)
downloadmtk-20170518-18035964c7cd34235007541fadf793ba4262b6a2.zip
mtk-20170518-18035964c7cd34235007541fadf793ba4262b6a2.tar.gz
mtk-20170518-18035964c7cd34235007541fadf793ba4262b6a2.tar.bz2
fix path to libgcc.a in LIBGCC_S
SVN-Revision: 20593
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index f913d98..0cb72ac 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),)