diff options
author | Peter Eisentraut | 2019-07-01 22:46:24 +0000 |
---|---|---|
committer | Peter Eisentraut | 2019-07-01 22:56:20 +0000 |
commit | c72f9b9502eadb6b84c6681cdb3bff12b35d3c8a (patch) | |
tree | 7474578538ecdb99668c2c3f468b50643115d869 /src/makefiles | |
parent | 615cebc94b5ef8fbe353e3c8b838b1e97bcdfd49 (diff) |
Remove support for non-ELF BSD systems
This is long obsolete.
Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/makefiles')
-rw-r--r-- | src/makefiles/Makefile.freebsd | 12 | ||||
-rw-r--r-- | src/makefiles/Makefile.netbsd | 14 | ||||
-rw-r--r-- | src/makefiles/Makefile.openbsd | 12 |
3 files changed, 0 insertions, 38 deletions
diff --git a/src/makefiles/Makefile.freebsd b/src/makefiles/Makefile.freebsd index 98a6f50615e..c462e2fd584 100644 --- a/src/makefiles/Makefile.freebsd +++ b/src/makefiles/Makefile.freebsd @@ -1,9 +1,7 @@ AROPT = cr -ifdef ELF_SYSTEM export_dynamic = -Wl,-export-dynamic rpath = -Wl,-R'$(rpathdir)' -endif DLSUFFIX = .so @@ -20,14 +18,4 @@ endef # 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 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 [email protected] - @${AR} cq [email protected] $<.obj - ${RANLIB} [email protected] - @rm -f $@ - $(LD) -x -Bshareable -Bforcearchive -o $@ [email protected] -endif 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 |