From: Felix Fietkau Date: Fri, 8 Jan 2016 23:18:22 +0000 (+0000) Subject: build: prevent host default LDFLAGS from leaking into packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c39035941886d9e8e866fd3e93797207d9a5023a;p=openwrt%2Fstaging%2Fmkresin.git build: prevent host default LDFLAGS from leaking into packages Signed-off-by: Felix Fietkau SVN-Revision: 48158 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index 0b5ac2686f..03c5b1f548 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -38,6 +38,7 @@ unexport LPATH # make sure that a predefined CFLAGS variable does not disturb packages export CFLAGS= +export LDFLAGS= empty:= space:= $(empty) $(empty)