diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-12 22:19:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-12 22:19:29 +0000 |
commit | 19421b67323423638ef627c38bb0592c5cea9680 (patch) | |
tree | a895978d0a281ec288c4e1e9bb3a97eae36b0d11 /rules.mk | |
parent | ea5904ff9370a7b735ced24a7c92856c25a5632c (diff) | |
download | upstream-19421b67323423638ef627c38bb0592c5cea9680.tar.gz upstream-19421b67323423638ef627c38bb0592c5cea9680.tar.bz2 upstream-19421b67323423638ef627c38bb0592c5cea9680.zip |
drop the usr/ prefix when scanning for libgcc.a
SVN-Revision: 23042
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,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)/usr/lib/gcc/*/*/libgcc.a)) +LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/lib -lgcc_s,$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.a)) ifndef DUMP ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |