mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03: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:
@ -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
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
sqlmansect = 7
|
sqlmansect = 7
|
||||||
|
|
||||||
allow_nonpic_in_shlib = yes
|
|
||||||
|
Reference in New Issue
Block a user