From c39035941886d9e8e866fd3e93797207d9a5023a Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 8 Jan 2016 23:18:22 +0000
Subject: [PATCH] build: prevent host default LDFLAGS from leaking into
 packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48158
---
 include/toplevel.mk | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
GitLab