diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-01 21:29:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-01 21:29:00 +0000 |
commit | fb5e82d7420552b0e4d202f9bd9d8c4c0226f3d7 (patch) | |
tree | 73c749fbd54f96d35362d394307ee1660308b06e /rules.mk | |
parent | 8bbea0d1bcd84615a019b97385d6a711449f4ed4 (diff) | |
download | upstream-fb5e82d7420552b0e4d202f9bd9d8c4c0226f3d7.tar.gz upstream-fb5e82d7420552b0e4d202f9bd9d8c4c0226f3d7.tar.bz2 upstream-fb5e82d7420552b0e4d202f9bd9d8c4c0226f3d7.zip |
add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ TARGET_PATH_PKG:=$(STAGING_DIR)/host/bin:$(TARGET_PATH) TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-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)/lib/gcc/*/*/libgcc.a)) ifndef DUMP ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) |