Remove any -arch switches given in ExtUtils::Embed's ldopts from our
Tom Lane <tgl@sss.pgh.pa.us>
Remove any -arch switches given in ExtUtils::Embed's ldopts from our perl_embed_ldflags setting. On OS X it seems that ExtUtils::Embed is trying to force a universal binary to be built, but you need to specify that a lot further upstream if you want Postgres built that way; the only result of including -arch in perl_embed_ldflags is some warnings at the plperl.so link step. Per my complaint and Jan Otto's suggestion.
Files
| Path | Change | +/− |
|---|---|---|
| config/perl.m4 | modified | +6 −2 |
| configure | modified | +1 −1 |