mirror of
https://github.com/postgres/postgres.git
synced 2026-06-19 21:49:02 -04:00
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:
parent
75f633b6d1
commit
41bb3cb7c9
1 changed files with 3 additions and 5 deletions
|
|
@ -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…
Reference in a new issue