aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-08 23:18:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-08 23:18:22 +0000
commitc39035941886d9e8e866fd3e93797207d9a5023a (patch)
tree83359d380c4758a967d43c8fcc72bc87f4538a92 /include
parent7dfbac8073e1f5fd47f85743b9ebead842ed3c70 (diff)
downloadupstream-c39035941886d9e8e866fd3e93797207d9a5023a.tar.gz
upstream-c39035941886d9e8e866fd3e93797207d9a5023a.tar.bz2
upstream-c39035941886d9e8e866fd3e93797207d9a5023a.zip
build: prevent host default LDFLAGS from leaking into packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48158
Diffstat (limited to 'include')
-rw-r--r--include/toplevel.mk1
1 files changed, 1 insertions, 0 deletions
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)