build: prevent host default LDFLAGS from leaking into packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48158
This commit is contained in:
Felix Fietkau 2016-01-08 23:18:22 +00:00
parent 7dfbac8073
commit c390359418

View File

@ -38,6 +38,7 @@ 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=
export LDFLAGS=
empty:= empty:=
space:= $(empty) $(empty) space:= $(empty) $(empty)