pgsql: Suppress -arch switches in the output of ExtUtils::Embed.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress -arch switches in the output of ExtUtils::Embed.
Date: 2011-06-14 21:14:28
Message-ID: E1QWawO-00072N-1l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress -arch switches in the output of ExtUtils::Embed.

We previously found out that OS X's standard perl installation tries to put
-arch switches into Perl link commands, evidently in hopes of building
universal binaries. But it doesn't work to add such switches in plperl's
link step if they weren't being used earlier, so this is basically
unworkable. When using gcc the result is only some warnings; but LLVM
fails entirely, so this issue isn't as cosmetic as we originally thought.
Hence, back-patch commit d69a419e682c2d39c2355105a7e5e2b90357c8f0 into
pre-9.0 branches.

Branch
------
REL8_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/07bc6fe6687fbf2ac0fea5b09fe5a4932a725368

Modified Files
--------------
config/perl.m4 | 6 +++++-
configure | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-06-14 22:15:28 pgsql: In pg_upgrade, document that link mode has to have data director
Previous Message Tom Lane 2011-06-14 21:14:27 pgsql: Suppress -arch switches in the output of ExtUtils::Embed.