[GRASS-SVN] r40523 - grass/trunk/visualization/wximgview

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 17 23:06:49 EST 2010


Author: kyngchaos
Date: 2010-01-17 23:06:48 -0500 (Sun, 17 Jan 2010)
New Revision: 40523

Modified:
   grass/trunk/visualization/wximgview/Makefile
Log:
substitute arch flags for wxpython modules

Modified: grass/trunk/visualization/wximgview/Makefile
===================================================================
--- grass/trunk/visualization/wximgview/Makefile	2010-01-18 02:16:47 UTC (rev 40522)
+++ grass/trunk/visualization/wximgview/Makefile	2010-01-18 04:06:48 UTC (rev 40523)
@@ -9,6 +9,13 @@
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 
+# substitute OSX arch flags for wxpython
+ifneq ($(MACOSX_ARCHS),)
+CFLAGS := $(subst $(MACOSX_ARCHS),,$(CFLAGS)) $(MACOSX_ARCHS_WXPYTHON)
+CXXFLAGS := $(subst $(MACOSX_ARCHS),,$(CXXFLAGS)) $(MACOSX_ARCHS_WXPYTHON)
+LDFLAGS := $(subst $(MACOSX_ARCHS),,$(LDFLAGS)) $(MACOSX_ARCHS_WXPYTHON)
+endif
+
 LINK = $(CXX)
 
 ifneq ($(USE_WXWIDGETS),)



More information about the grass-commit mailing list