mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
Revert "Add -rpath option for host package compilation"
Closes #1789
This reverts commit 6b939d40f6.
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>
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
Issues resolved (http://bugs.uclibc.org):
|
Issues resolved (http://bugs.uclibc.org):
|
||||||
|
|
||||||
|
#1789: binutils fails to build for i386
|
||||||
#1843: Fix libcap build failure
|
#1843: Fix libcap build failure
|
||||||
|
|
||||||
2010.05-rc3, Released May 27th, 2010:
|
2010.05-rc3, Released May 27th, 2010:
|
||||||
|
|||||||
@@ -77,11 +77,6 @@ ifeq ($(BR2_LARGEFILE),y)
|
|||||||
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||||
endif
|
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)
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user