postgresql/config
Peter Eisentraut b4e936859d Remove further unwanted linker flags from perl_embed_ldflags
Remove the contents of $Config{ldflags} from ExtUtils::Embed's ldopts,
like we already do with $Config{ccdlflags}.  Those flags are the
choices of those who built the Perl installation, which are not
necessarily appropriate for building PostgreSQL.  What we really want
from ldopts are the options identifying the location and name of the
libperl library, but unfortunately it doesn't appear possible to get
that separately from the other stuff.

The motivation for this was to strip -mmacosx-version-min options.  We
already did something similar for the -arch option.  Both of those are
now covered by this more general approach.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
2022-08-23 16:27:24 +02:00
..
ax_pthread.m4
c-compiler.m4 Rely on __func__ being supported 2022-08-07 09:36:01 -07:00
c-library.m4 Remove configure probes for sockaddr_storage members. 2022-08-22 17:50:30 +12:00
check_decls.m4
check_modules.pl
config.guess
config.sub
general.m4
install-sh
libtool.m4
llvm.m4
Makefile
missing
perl.m4 Remove further unwanted linker flags from perl_embed_ldflags 2022-08-23 16:27:24 +02:00
pkg.m4
prep_buildtree
programs.m4
python.m4 Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
tcl.m4