From 94f359904d4fbe16062679526f5846c2b5bcace6 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 17 Jun 2014 19:22:34 +0000 Subject: [PATCH] remove dual-arch cflags and ldflags that we get on osx, we don't support fat binary stuff yet --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b257069443..61d4ca1645 100644 --- a/configure.ac +++ b/configure.ac @@ -1238,8 +1238,8 @@ if test "x$ac_cv_have_perl" != "xno"; then PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{archlib}'`" PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlib}'`/CORE" PERL_LIBS="`$PERL -MConfig -e 'print $Config{libs}'`" - PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts` -DEMBED_PERL" - PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts`" + PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts | sed -e 's|-arch x86_64 -arch i386||'` -DEMBED_PERL" + PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts| sed -e 's|-arch x86_64 -arch i386||'`" PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`" save_CFLAGS="$CFLAGS"