[GRASS-SVN] r42485 - in grass/trunk/lib/python: .
ctypes/ctypesgencore/parser
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 5 02:21:23 EDT 2010
Author: glynn
Date: 2010-06-05 02:21:19 -0400 (Sat, 05 Jun 2010)
New Revision: 42485
Modified:
grass/trunk/lib/python/Makefile
grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py
Log:
Restore "-U __GNUC__" to preprocessor command
Log correct directory on failures
Modified: grass/trunk/lib/python/Makefile
===================================================================
--- grass/trunk/lib/python/Makefile 2010-06-05 05:40:39 UTC (rev 42484)
+++ grass/trunk/lib/python/Makefile 2010-06-05 06:21:19 UTC (rev 42485)
@@ -16,7 +16,7 @@
CLEAN_SUBDIRS = ctypes
default: $(PYFILES) $(PYCFILES) $(GDIR)/__init__.py $(GDIR)/__init__.pyc
- -$(MAKE) -C ctypes || echo $(CURDIR)/$@ >> $(ERRORLOG)
+ -$(MAKE) -C ctypes || echo $(CURDIR)/ctypes >> $(ERRORLOG)
$(PYDIR):
$(MKDIR) $@
Modified: grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py
===================================================================
--- grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py 2010-06-05 05:40:39 UTC (rev 42484)
+++ grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py 2010-06-05 06:21:19 UTC (rev 42485)
@@ -131,8 +131,7 @@
cmd = self.options.cpp
if sys.platform == 'darwin':
cmd += " -U __BLOCKS__"
- else:
- cmd += " -U __GNUC__"
+ cmd += " -U __GNUC__"
cmd += " -dD"
for path in self.options.include_search_paths:
cmd += " -I%s" % path
More information about the grass-commit
mailing list