summaryrefslogtreecommitdiff
path: root/include/toplevel.mk
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/toplevel.mk
parent7dfbac8073e1f5fd47f85743b9ebead842ed3c70 (diff)
downloadmtk-20170518-c39035941886d9e8e866fd3e93797207d9a5023a.zip
mtk-20170518-c39035941886d9e8e866fd3e93797207d9a5023a.tar.gz
mtk-20170518-c39035941886d9e8e866fd3e93797207d9a5023a.tar.bz2
build: prevent host default LDFLAGS from leaking into packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48158
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r--include/toplevel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 0b5ac26..03c5b1f 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)