From: nbd Date: Fri, 8 Jan 2016 23:18:22 +0000 (+0000) Subject: build: prevent host default LDFLAGS from leaking into packages X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=de59fcde09b1bd8b3215040b5da914aab319c0ea build: prevent host default LDFLAGS from leaking into packages Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48158 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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)