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.
REL8_1_STABLE
Tom Lane 21 years ago
parent 75f633b6d1
commit 41bb3cb7c9
  1. 8
      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

Loading…
Cancel
Save