diff options
author | Tom Lane | 2005-08-24 20:20:38 +0000 |
---|---|---|
committer | Tom Lane | 2005-08-24 20:20:38 +0000 |
commit | 12a11726282eba189db2de1a7148a8f615f9d983 (patch) | |
tree | 8e9866aaf097aa1e40fa84768e47de60573ddb6a | |
parent | a6a692185694651c6af7acd81aa4fa6630692b80 (diff) |
Back off allow_nonpic_in_shlib for FreeBSD builds: only set it on i386.
This might be overly conservative, but we know it does not work on amd64.
Per buildfarm results.
-rw-r--r-- | src/makefiles/Makefile.freebsd | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/makefiles/Makefile.freebsd b/src/makefiles/Makefile.freebsd index f47ecc1232..3b543bcbda 100644 --- a/src/makefiles/Makefile.freebsd +++ b/src/makefiles/Makefile.freebsd @@ -7,10 +7,10 @@ endif DLSUFFIX = .so -ifeq ($(findstring sparc,$(host_cpu)), sparc) -CFLAGS_SL = -fPIC -DPIC -else CFLAGS_SL = -fPIC -DPIC + +ifeq ($(findstring i386,$(host_cpu)), i386) +allow_nonpic_in_shlib = yes endif @@ -28,5 +28,3 @@ else endif sqlmansect = 7 - -allow_nonpic_in_shlib = yes |