build: prevent host default LDFLAGS from leaking into packages
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Jan 2016 23:18:22 +0000 (23:18 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Jan 2016 23:18:22 +0000 (23:18 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48158 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/toplevel.mk

index 0b5ac26..03c5b1f 100644 (file)
@@ -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)