diff options
Diffstat (limited to 'src/makefiles/Makefile.openbsd')
-rw-r--r-- | src/makefiles/Makefile.openbsd | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/makefiles/Makefile.openbsd b/src/makefiles/Makefile.openbsd index eda311087cb..15695fb65c7 100644 --- a/src/makefiles/Makefile.openbsd +++ b/src/makefiles/Makefile.openbsd @@ -1,9 +1,7 @@ AROPT = cr -ifdef ELF_SYSTEM export_dynamic = -Wl,-E rpath = -Wl,-R'$(rpathdir)' -endif DLSUFFIX = .so @@ -12,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 [email protected] - @${AR} cq [email protected] $<.obj - ${RANLIB} [email protected] - @rm -f $@ - $(LD) -x -Bshareable -Bforcearchive -o $@ [email protected] -endif |