aboutsummaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.netbsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefiles/Makefile.netbsd')
-rw-r--r--src/makefiles/Makefile.netbsd14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd
index 7bb9721fa5b..15695fb65c7 100644
--- a/src/makefiles/Makefile.netbsd
+++ b/src/makefiles/Makefile.netbsd
@@ -1,11 +1,7 @@
AROPT = cr
-ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -Wl,-R'$(rpathdir)'
-else
-rpath = -Wl,-R'$(rpathdir)'
-endif
DLSUFFIX = .so
@@ -14,14 +10,4 @@ CFLAGS_SL = -fPIC -DPIC
# Rule for building a shared library from a single .o file
%.so: %.o
-ifdef ELF_SYSTEM
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
-else
- $(LD) $(LDREL) $(LDOUT) $<.obj -x $<
- @echo building shared object $@
- @rm -f $@.pic
- @${AR} cq $@.pic $<.obj
- ${RANLIB} $@.pic
- @rm -f $@
- $(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
-endif