Suppress -arch switches in the output of ExtUtils::Embed.
authorTom Lane <[email protected]>
Tue, 14 Jun 2011 21:13:58 +0000 (17:13 -0400)
committerTom Lane <[email protected]>
Tue, 14 Jun 2011 21:13:58 +0000 (17:13 -0400)
commit212567ad3ee23c7ff630e41034c48814b3f18cc9
tree97f225dd1533c8435bdbd53a99061e648d2a5637
parentb36f59e93ed26d348ee629972e50b7fb2aac9269
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.
config/perl.m4
configure