diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-24 16:19:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-24 16:19:44 +0200 |
commit | 5dff57d7140b95b46b16926a0f4bc5c39d359df4 (patch) | |
tree | 67a69fe50dd89455272276f149f31720b77fd6b7 /src/auto | |
parent | 9f5e36bc609b9210de386acfeb390802ad45bd0e (diff) | |
download | vim-git-5dff57d7140b95b46b16926a0f4bc5c39d359df4.tar.gz |
Remove -arch flag from build flags for Perl. (Bjorn Wickler)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/auto/configure b/src/auto/configure index 651c79221..cd829d18d 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -5083,6 +5083,8 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; } PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a" PERL_LIBS="-L$darwindir/CORE -lperl" fi + PERL_LIBS=`echo "$PERL_LIBS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'` + PERL_CFLAGS=`echo "$PERL_CFLAGS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'` fi if test "$enable_perlinterp" = "dynamic"; then if test "$perl_ok" = "yes" -a "X$libperl" != "X"; then @@ -6116,7 +6118,7 @@ $as_echo "$rubyhdrdir" >&6; } fi rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'` if test "X$rubyldflags" != "X"; then - rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//'` + rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'` if test "X$rubyldflags" != "X"; then LDFLAGS="$rubyldflags $LDFLAGS" fi |