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 | f8097687d1ec5e1293686633ba6840eb0abdd16d (patch) | |
tree | 197398a2f3d24594942cf84db5f7bcdb06b0dd6c /rules.mk | |
parent | 85119470d2e01c425aa40773e406d11b8375593d (diff) | |
download | mtk-20170518-f8097687d1ec5e1293686633ba6840eb0abdd16d.zip mtk-20170518-f8097687d1ec5e1293686633ba6840eb0abdd16d.tar.gz mtk-20170518-f8097687d1ec5e1293686633ba6840eb0abdd16d.tar.bz2 |
add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
SVN-Revision: 17082
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),) |