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
commit7f6bb016743576c40de4e37955f45cf9415c04b0 (patch)
treed8ec045a0fcb1026187e05493126b1ca795cfb78 /include
parent4e4d77063974d6b04a2a55a31ec18d9eb9e73749 (diff)
downloadmaster-187ad058-7f6bb016743576c40de4e37955f45cf9415c04b0.tar.gz
master-187ad058-7f6bb016743576c40de4e37955f45cf9415c04b0.tar.bz2
master-187ad058-7f6bb016743576c40de4e37955f45cf9415c04b0.zip
build: prevent host default LDFLAGS from leaking into packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48158 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)