aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make/python.mk
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/software/make/python.mk')
-rw-r--r--reproduce/software/make/python.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index a1d198d..1ef1bf2 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -393,7 +393,7 @@ $(ipydir)/astropy: $(ipydir)/h5py \
# Currently, when the Expat library is already built in a project
# (for example as a dependency of another program), Astropy's
# internal building of Expat will conflict with the project's. So
- # we have added Expat as a dependency of astropy (so it is always
+ # we have added Expat as a dependency of Astropy (so it is always
# built before it, and we tell Astropy to use the project's
# libexpat.
pyhook_before () {
@@ -599,7 +599,8 @@ $(ipydir)/numpy: $(ibidir)/unzip \
else \
export LDFLAGS="$(LDFLAGS) -shared"; \
fi; \
- conf="$$(pwd)/reproduce/software/config/installation/numpy-scipy.cfg"; \
+ export CFLAGS="--std=c99 $$CFLAGS"; \
+ conf="$$(pwd)/reproduce/software/config/numpy-scipy.cfg"; \
$(call pybuild, unzip, numpy-$(numpy-version),$$conf, \
Numpy $(numpy-version)) \
&& cp $(dtexdir)/numpy.tex $(ictdir)/ \
@@ -678,7 +679,7 @@ $(ipydir)/scipy: $(ipydir)/numpy \
else \
export LDFLAGS="$(LDFLAGS) -shared"; \
fi; \
- conf="$$(pwd)/reproduce/software/config/installation/numpy-scipy.cfg"; \
+ conf="$$(pwd)/reproduce/software/config/numpy-scipy.cfg"; \
$(call pybuild, tar xf, scipy-$(scipy-version),$$conf) \
&& cp $(dtexdir)/scipy.tex $(ictdir)/ \
&& echo "Scipy $(scipy-version) \citep{scipy2007,scipy2011}" > $@