[GRASS-SVN] r39070 - grass/branches/develbranch_6
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 7 12:02:03 EDT 2009
Author: kyngchaos
Date: 2009-09-07 12:02:03 -0400 (Mon, 07 Sep 2009)
New Revision: 39070
Modified:
grass/branches/develbranch_6/configure
grass/branches/develbranch_6/configure.in
Log:
fix OSX arch stripping (from trunk)
Modified: grass/branches/develbranch_6/configure
===================================================================
--- grass/branches/develbranch_6/configure 2009-09-07 15:59:54 UTC (rev 39069)
+++ grass/branches/develbranch_6/configure 2009-09-07 16:02:03 UTC (rev 39070)
@@ -16177,8 +16177,8 @@
# shouldn't have arch flags in C/LD flags on OSX
for a in i386 ppc x86_64 ppc64
do
- PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed "s/-arch +$a//g"`
- PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed "s/-arch +$a//g"`
+ PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed -E "s/-arch +$a//g"`
+ PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed -E "s/-arch +$a//g"`
done
fi
@@ -16385,9 +16385,9 @@
# shouldn't have arch flags in C/LD flags on OSX
for a in i386 ppc x86_64 ppc64
do
- WXWIDGETSCXXFLAGS=`echo "$WXWIDGETSCXXFLAGS" | sed "s/-arch +$a//g"`
- WXWIDGETSCPPFLAGS=`echo "$WXWIDGETSCPPFLAGS" | sed "s/-arch +$a//g"`
- WXWIDGETSLIB=`echo "$WXWIDGETSLIB" | sed "s/-arch +$a//g"`
+ WXWIDGETSCXXFLAGS=`echo "$WXWIDGETSCXXFLAGS" | sed -E "s/-arch +$a//g"`
+ WXWIDGETSCPPFLAGS=`echo "$WXWIDGETSCPPFLAGS" | sed -E "s/-arch +$a//g"`
+ WXWIDGETSLIB=`echo "$WXWIDGETSLIB" | sed -E "s/-arch +$a//g"`
done
# check for available OSX archs in wxPython
Modified: grass/branches/develbranch_6/configure.in
===================================================================
--- grass/branches/develbranch_6/configure.in 2009-09-07 15:59:54 UTC (rev 39069)
+++ grass/branches/develbranch_6/configure.in 2009-09-07 16:02:03 UTC (rev 39070)
@@ -1864,8 +1864,8 @@
# shouldn't have arch flags in C/LD flags on OSX
for a in i386 ppc x86_64 ppc64
do
- PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed "s/-arch +$a//g"`
- PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed "s/-arch +$a//g"`
+ PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed -E "s/-arch +$a//g"`
+ PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed -E "s/-arch +$a//g"`
done
fi
@@ -1963,9 +1963,9 @@
# shouldn't have arch flags in C/LD flags on OSX
for a in i386 ppc x86_64 ppc64
do
- WXWIDGETSCXXFLAGS=`echo "$WXWIDGETSCXXFLAGS" | sed "s/-arch +$a//g"`
- WXWIDGETSCPPFLAGS=`echo "$WXWIDGETSCPPFLAGS" | sed "s/-arch +$a//g"`
- WXWIDGETSLIB=`echo "$WXWIDGETSLIB" | sed "s/-arch +$a//g"`
+ WXWIDGETSCXXFLAGS=`echo "$WXWIDGETSCXXFLAGS" | sed -E "s/-arch +$a//g"`
+ WXWIDGETSCPPFLAGS=`echo "$WXWIDGETSCPPFLAGS" | sed -E "s/-arch +$a//g"`
+ WXWIDGETSLIB=`echo "$WXWIDGETSLIB" | sed -E "s/-arch +$a//g"`
done
# check for available OSX archs in wxPython
More information about the grass-commit
mailing list