summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-05-25 19:12:59 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-30 20:25:10 +0200
commit8d764327a697a2572bba96878972c1a469f864f3 (patch)
tree91f304568882c3f2210db9535fec529e343c0f89 /package/Makefile.in
parent169141a3eb0dc009a49895ebdc255bfc869ed5af (diff)
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 <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index fc5585006..427c6d84d 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