summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2016-04-19 16:40:14 +0200
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2016-04-19 16:40:14 +0200
commitc58929ca7d0201335b5036773b26f82361793f25 (patch)
tree535c832416604ad62e668d9069c610a05214dfc4 /build/linux
parent547def0ea6e3eab07b7e4c48cee6d6a81f6155e1 (diff)
downloadastra-c58929ca7d0201335b5036773b26f82361793f25.tar.gz
astra-c58929ca7d0201335b5036773b26f82361793f25.tar.bz2
astra-c58929ca7d0201335b5036773b26f82361793f25.tar.xz
astra-c58929ca7d0201335b5036773b26f82361793f25.zip
Use CXX for Python compilation as well
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index a199bf6..2214734 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -281,13 +281,13 @@ ifeq ($(python),yes)
py: libastra.la
$(MKDIR) python/build
$(MKDIR) python/finalbuild
- cd $(srcdir)/../../python; CPPFLAGS="${PYCPPFLAGS}" LDFLAGS="${PYLDFLAGS}" $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build install \
+ cd $(srcdir)/../../python; CXX="${CXX}" CC="${CXX}" CPPFLAGS="${PYCPPFLAGS}" LDFLAGS="${PYLDFLAGS}" $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build install \
--install-base=$(abs_top_builddir)/python/finalbuild --install-headers=$(abs_top_builddir)/python/finalbuild --install-purelib=$(abs_top_builddir)/python/finalbuild \
--install-platlib=$(abs_top_builddir)/python/finalbuild --install-scripts=$(abs_top_builddir)/python/finalbuild --install-data=$(abs_top_builddir)/python/finalbuild
python-root-install: libastra.la
$(MKDIR) python/build
- cd $(srcdir)/../../python; CPPFLAGS="${PYCPPFLAGS}" LDFLAGS="${PYLDFLAGS}" $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build install
+ cd $(srcdir)/../../python; CXX="${CXX}" CC="${CXX}" CPPFLAGS="${PYCPPFLAGS}" LDFLAGS="${PYLDFLAGS}" $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build install
endif