projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f633b
)
Back off allow_nonpic_in_shlib for FreeBSD builds: only set it on i386.
author
Tom Lane
Wed, 24 Aug 2005 20:20:38 +0000
(20:20 +0000)
committer
Tom Lane
Wed, 24 Aug 2005 20:20:38 +0000
(20:20 +0000)
This might be overly conservative, but we know it does not work on amd64.
Per buildfarm results.
src/makefiles/Makefile.freebsd
patch
|
blob
|
blame
|
history
diff --git
a/src/makefiles/Makefile.freebsd
b/src/makefiles/Makefile.freebsd
index f47ecc12325f20c067b86985e321da2a5fc9739c..3b543bcbda624a2d01b2bcc94e184cf44bd71f2f 100644
(file)
--- 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