Skip to content
Snippets Groups Projects
Commit 41bb3cb7 authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 75f633b6
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,10 @@ endif ...@@ -7,10 +7,10 @@ endif
DLSUFFIX = .so DLSUFFIX = .so
ifeq ($(findstring sparc,$(host_cpu)), sparc)
CFLAGS_SL = -fPIC -DPIC
else
CFLAGS_SL = -fPIC -DPIC CFLAGS_SL = -fPIC -DPIC
ifeq ($(findstring i386,$(host_cpu)), i386)
allow_nonpic_in_shlib = yes
endif endif
...@@ -28,5 +28,3 @@ else ...@@ -28,5 +28,3 @@ else
endif endif
sqlmansect = 7 sqlmansect = 7
allow_nonpic_in_shlib = yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment