summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules12
1 files changed, 0 insertions, 12 deletions
diff --git a/Makerules b/Makerules
index d8cbfe435..d35e40d38 100644
--- a/Makerules
+++ b/Makerules
@@ -365,18 +365,6 @@ define link-flat.so
$(top_builddir)/lib/crtn.o
endef
-define linkm.so
- $(Q)$(RM) $@ $@.$(2) $(dir $@)$(1)
- $(do_strip)
- @$(disp_ld)
- $(Q)$(CC) $(LDFLAGS-$(notdir $@)) -Wl,-soname=$(notdir $@).$(2) \
- $(CFLAG_-nostdlib) -o $(dir $@)$(1) $(START_FILE-$(notdir $@)) \
- $^ \
- $(LIBS-$(notdir $@)) $(LIBGCC) $(END_FILE-$(notdir $@))
- $(Q)$(LN) -sf $(1) $@.$(2)
- $(Q)$(LN) -sf $(1) $@
-endef
-
CFLAGS-.os+=$(PICFLAG)
CFLAGS-.oS+=$(PICFLAG) -DSHARED