[yoda-svn] r586 - trunk/pyext

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Apr 8 11:20:04 BST 2013


Author: dgrell
Date: Mon Apr  8 11:20:04 2013
New Revision: 586

Log:
Use configured compiler for pyext

Modified:
   trunk/pyext/Makefile.am

Modified: trunk/pyext/Makefile.am
==============================================================================
--- trunk/pyext/Makefile.am	Mon Apr  8 10:53:27 2013	(r585)
+++ trunk/pyext/Makefile.am	Mon Apr  8 11:20:04 2013	(r586)
@@ -3,19 +3,17 @@
 
 if ENABLE_PYEXT
 
-CYTHONFLAGS = @CYTHONFLAGS@
-
 all-local:
-	$(PYTHON) setup.py install --install-lib=build/
+	CC=$(CC) CXX=$(CXX) $(PYTHON) setup.py install --install-lib=build/
 
 install-exec-local:
-	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+	CC=$(CC) CXX=$(CXX) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
 
 uninstall-local:
 	rm -rf $(DESTDIR)$(YODA_PYTHONPATH)/yoda
 
 clean-local:
-	$(PYTHON) setup.py clean --all
+	CC=$(CC) CXX=$(CXX) $(PYTHON) setup.py clean --all
 	@rm -f $(top_builddir)/*.pyc
 	@rm -rf $(builddir)/build
 	@rm -rf dist


More information about the yoda-svn mailing list