From e8c19a56db0f9401c23e9faca6f1a59562afe066 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 5 Apr 2012 14:33:03 +0000 Subject: [PATCH] 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 SVN-Revision: 31203 --- include/toplevel.mk | 3 +++ 1 file changed, 3 insertions(+) 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= -- 2.25.1