aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-31 11:29:22 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-31 11:29:22 +0000
commit81b94960a2bc09e18e5c491b1afeca08ef681b0a (patch)
tree9d838ae55fb024aad93c50ea3e6d541cbe993eeb /Makefile
parent39e75106640e17d824c6da00b20ad6d76ede91c5 (diff)
downloadbusybox-81b94960a2bc09e18e5c491b1afeca08ef681b0a.tar.gz
- pass -static via CC rather than LD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d43360d32..80d560861 100644
--- a/Makefile
+++ b/Makefile
@@ -280,8 +280,8 @@ $(LIBBUSYBOX_SONAME):
ifndef MAJOR_VERSION
$(error MAJOR_VERSION needed for $@ is not defined)
endif
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) -shared \
- $(CFLAGS_PIC) \
+ $(CC) $(CFLAGS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) \
+ $(LIB_LDFLAGS) \
-Wl,-soname=$(LD_LIBBUSYBOX).$(MAJOR_VERSION) \
-Wl,-z,combreloc $(LIB_LDFLAGS) \
-o $(@) \