[Buildroot] [PATCH] linux: drop LDFLAGS override

Mike Frysinger vapier at gentoo.org
Wed Nov 17 09:11:18 UTC 2010


The current linux code overrides LDFLAGS that the kernel itself might be
setting up.  Looking at the history, there doesn't seem to be any reason
for this override.  It was added in ea8b1fa6a60705 without any logic.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 linux/linux.mk |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 17c4b48..67b68ce 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -31,7 +31,6 @@ LINUX26_MAKE_FLAGS = \
 	ARCH=$(KERNEL_ARCH) \
 	INSTALL_MOD_PATH=$(TARGET_DIR) \
 	CROSS_COMPILE=$(TARGET_CROSS) \
-	LDFLAGS="$(TARGET_LDFLAGS)" \
 	LZMA="$(LZMA)"
 ifneq ($(LINUX26_SOURCE_DIR),$(LINUX26_BUILD_DIR))
 LINUX26_MAKE_FLAGS += O="$(LINUX26_BUILD_DIR)"
-- 
1.7.3.2




More information about the buildroot mailing list