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.
This commit is contained in:
Tom Lane 2005-08-24 20:20:38 +00:00
parent 75f633b6d1
commit 41bb3cb7c9

View File

@ -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