summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-05-30 10:40:19 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-30 10:42:17 +0200
commite1a7d916e9eeaa215551740de40c055130d6c073 (patch)
treea45475610fdec0ef9b6512090681d7a368dcf28a /package
parenta4bba08343325113122b6601b09fe70e501bd93b (diff)
downloadbuildroot-novena-e1a7d916e9eeaa215551740de40c055130d6c073.tar.gz
buildroot-novena-e1a7d916e9eeaa215551740de40c055130d6c073.zip
Revert "Add -rpath option for host package compilation"
Closes #1789 This reverts commit 6b939d40f6a29a43277566adc9d4312d49cb3abf. The problem this commit tries to fix is valid, but the fix unfortunately seems to cause worse problems on certain distributions/setups, so revert for now. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 7ac429c81..eeb945022 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -77,11 +77,6 @@ ifeq ($(BR2_LARGEFILE),y)
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
-# Host packages are sometimes linked against host libraries installed
-# in $(HOST_DIR)/usr/lib. As we cannot add $(HOST_DIR)/usr/lib to
-# LD_LIBRARY_PATH when building target packages because it causes
-# libtool breakage, we force a rpath to be added to host binaries.
-HOST_CFLAGS+=-Wl,-rpath -Wl,$(HOST_DIR)/usr/lib
#########################################################################
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)