summaryrefslogtreecommitdiffstats
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-05 14:33:03 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-05 14:33:03 +0000
commit97f7040e2dc9d620f3440a308a5ae8951a40ca9b (patch)
tree32451d1c5d07a27a6f6eacdec91e832717e8d0b4 /include/toplevel.mk
parentca4717a482e1b21af03b0259124d1c50daed82ff (diff)
[include] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31203 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r--include/toplevel.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 4c9b85c21..9a6013932 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=