From 8d764327a697a2572bba96878972c1a469f864f3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sun, 25 May 2014 19:12:59 -0300 Subject: [PATCH] package infra: revert 0a4bd19f Revert commit 0a4bd19f4a136930c611027942ce43124a81c5cb Using --static is not documented and actually breaks static linking according to my tests. Fixes: http://autobuild.buildroot.net/results/327/327c18db4e5d0ddc2c72a4684e103c19a1405e50/ ...for external toolchains Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index fc55850065..427c6d84d7 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -374,7 +374,7 @@ endif ifeq ($(BR2_PREFER_STATIC_LIB),y) SHARED_STATIC_LIBS_OPTS = --enable-static --disable-shared -TARGET_LDFLAGS += --static +TARGET_LDFLAGS += -static else SHARED_STATIC_LIBS_OPTS = --enable-static --enable-shared endif -- 2.30.2