mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Remove allow_nonpic_in_shlib
This was used in a time when a shared libperl or libpython was difficult to come by. That is obsolete, and the idea behind the flag was never fully portable anyway and will likely fail on more modern CPU architectures.
This commit is contained in:
@ -9,10 +9,6 @@ DLSUFFIX = .so
|
||||
|
||||
CFLAGS_SL = -fPIC -DPIC
|
||||
|
||||
ifeq ($(findstring i386,$(host_cpu)), i386)
|
||||
allow_nonpic_in_shlib = yes
|
||||
endif
|
||||
|
||||
|
||||
# Rule for building a shared library from a single .o file
|
||||
%.so: %.o
|
||||
|
@ -3,7 +3,6 @@ export_dynamic = -Wl,-E
|
||||
# Use --enable-new-dtags to generate DT_RUNPATH instead of DT_RPATH.
|
||||
# This allows LD_LIBRARY_PATH to still work when needed.
|
||||
rpath = -Wl,-rpath,'$(rpathdir)',--enable-new-dtags
|
||||
allow_nonpic_in_shlib = yes
|
||||
DLSUFFIX = .so
|
||||
|
||||
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
|
||||
|
Reference in New Issue
Block a user