From: Michael Jerris Date: Tue, 17 Jun 2014 19:22:34 +0000 (+0000) Subject: remove dual-arch cflags and ldflags that we get on osx, we don't support fat binary... X-Git-Tag: v1.5.13~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f359904d4fbe16062679526f5846c2b5bcace6;p=thirdparty%2Ffreeswitch.git remove dual-arch cflags and ldflags that we get on osx, we don't support fat binary stuff yet --- 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"