diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-03-14 16:03:33 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-03-14 16:03:33 +0000 |
| commit | aba8c12f679c2324fa42e718beab8e9d57409102 (patch) | |
| tree | ad8d1616fae148f4965555490450fda011b1694c /src/makefiles | |
| parent | e94fffc1c1c822b16b82dcf7dab8d82ed2625d3d (diff) | |
| download | postgresql-aba8c12f679c2324fa42e718beab8e9d57409102.tar.gz | |
We have tested the patches on three platforms:
NetBSD/macppc
LinuxPPC
FreeBSD 2.2.6-RELEASE
All of them seem happy with the regression test. Note that, however,
compiling with optimization enabled on NetBSD/macppc causes an initdb
failure (other two platforms are ok). After checking the asm code, we
are suspecting that might be a compiler(egcs) bug.
Tatsuo Ishii
Diffstat (limited to 'src/makefiles')
| -rw-r--r-- | src/makefiles/Makefile.bsd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.bsd b/src/makefiles/Makefile.bsd index 1c17504605..58df0e955d 100644 --- a/src/makefiles/Makefile.bsd +++ b/src/makefiles/Makefile.bsd @@ -1,4 +1,10 @@ +ifdef ELF_SYSTEM +LDFLAGS += -Wl,-E +endif %.so: %.o +ifdef ELF_SYSTEM + $(LD) -x -Bshareable -o $@ $< +else $(LD) -x -r -o $<.obj $< @echo building shared object $@ @rm -f $@.pic @@ -7,3 +13,4 @@ @rm -f $@ $(LD) -x -Bshareable -Bforcearchive \ -o $@ $@.pic +endif |
