diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2008-09-13 14:34:43 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2008-09-13 14:34:43 +0000 |
commit | ba4fb8c7ef7fccb728aafc9212663c2f6a9b0e40 (patch) | |
tree | 5e60babd93f70273377da34820a790559da824b1 /rules.mk | |
parent | e3359c29263a20124c4470f2e0e32cf5a2b1a7fd (diff) | |
download | upstream-ba4fb8c7ef7fccb728aafc9212663c2f6a9b0e40.tar.gz upstream-ba4fb8c7ef7fccb728aafc9212663c2f6a9b0e40.tar.bz2 upstream-ba4fb8c7ef7fccb728aafc9212663c2f6a9b0e40.zip |
Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some
packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12597 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,9 +1,10 @@ -# -# Copyright (C) 2006-2007 OpenWrt.org +# +# Copyright (C) 2006-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # +# $Id$ ifneq ($(__rules_inc),1) __rules_inc=1 @@ -65,7 +66,7 @@ IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(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$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib +TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) -include $(TOOLCHAIN_DIR)/info.mk |