aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-04-05 14:33:03 +0000
committerJohn Crispin <john@openwrt.org>2012-04-05 14:33:03 +0000
commite8c19a56db0f9401c23e9faca6f1a59562afe066 (patch)
tree277f4271c6d1e063720c6319b915e78d0a0d9da9
parent6940ba2a1ad23ef2ff24ae825daa9b55bd5c58ec (diff)
downloadupstream-e8c19a56db0f9401c23e9faca6f1a59562afe066.tar.gz
upstream-e8c19a56db0f9401c23e9faca6f1a59562afe066.tar.bz2
upstream-e8c19a56db0f9401c23e9faca6f1a59562afe066.zip
prevent distro default LPATH from interfering
Attach patch unsets LPATH flag (found configured in some custom host distributions) to make OpenWRT compile its toolchain without any issues. LPATH is used on some distros to define the linkers search path. Signed-off-by: Tathagata Das <tathagata@alumnux.com> SVN-Revision: 31203
-rw-r--r--include/toplevel.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 4c9b85c211..9a60139329 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -33,6 +33,9 @@ unexport QUILT_PATCHES QUILT_PATCH_OPTS
unexport C_INCLUDE_PATH
+# prevent distro default LPATH from interfering
+unexport LPATH
+
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=