diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-10-27 04:32:02 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-10-27 04:32:02 +0000 |
| commit | 949953060a8c67365c9132db338ba1efeff545bc (patch) | |
| tree | 647594ebf0ea5ff3c82fa1f02f58f01211a712d7 /src/makefiles/Makefile.freebsd | |
| parent | 7825f9b890a50a6ce47d8926fe4d18523bc7ae6b (diff) | |
| download | postgresql-949953060a8c67365c9132db338ba1efeff545bc.tar.gz | |
Starting with v3.0 of FreeBSD, we are now an elf system, and dont' have a
-Bforcearchive flag for ld...
Give FreeBSD its own special Makefile to get around the "bug"
Diffstat (limited to 'src/makefiles/Makefile.freebsd')
| -rw-r--r-- | src/makefiles/Makefile.freebsd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.freebsd b/src/makefiles/Makefile.freebsd new file mode 100644 index 0000000000..1c17504605 --- /dev/null +++ b/src/makefiles/Makefile.freebsd @@ -0,0 +1,9 @@ +%.so: %.o + $(LD) -x -r -o $<.obj $< + @echo building shared object $@ + @rm -f $@.pic + @${AR} cq $@.pic `lorder $<.obj | tsort` + ${RANLIB} $@.pic + @rm -f $@ + $(LD) -x -Bshareable -Bforcearchive \ + -o $@ $@.pic |
