[GRASS-SVN] r38500 - grass/trunk/visualization/xganim
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 20 23:26:12 EDT 2009
Author: kyngchaos
Date: 2009-07-20 23:26:12 -0400 (Mon, 20 Jul 2009)
New Revision: 38500
Modified:
grass/trunk/visualization/xganim/Makefile
Log:
strip 64bit arch flags on OSX if 32bit-only wxpython
Modified: grass/trunk/visualization/xganim/Makefile
===================================================================
--- grass/trunk/visualization/xganim/Makefile 2009-07-20 19:02:27 UTC (rev 38499)
+++ grass/trunk/visualization/xganim/Makefile 2009-07-21 03:26:12 UTC (rev 38500)
@@ -9,6 +9,13 @@
include $(MODULE_TOPDIR)/include/Make/Module.make
+ifeq ($(findstring darwin,$(ARCH)),darwin)
+ifneq ($(WX_ISOSX64BIT),1)
+CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS)))
+LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS)))
+endif
+endif
+
LINK = $(CXX)
ifneq ($(USE_WXWIDGETS),)
More information about the grass-commit
mailing list