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
lede-17.01
John Crispin 2012-04-05 14:33:03 +00:00
parent 6940ba2a1a
commit e8c19a56db
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ unexport QUILT_PATCHES QUILT_PATCH_OPTS
unexport C_INCLUDE_PATH unexport C_INCLUDE_PATH
# prevent distro default LPATH from interfering
unexport LPATH
# make sure that a predefined CFLAGS variable does not disturb packages # make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS= export CFLAGS=