summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-08-10 20:18:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-08-10 20:18:26 (GMT)
commitab0cad520dc97cc429b912a0c49dfe75305dc684 (patch)
tree803255052b8c083666dbba49cd66e6165655aeaa
parent1cb560a65344f4e4ec58a09a9e376e9e7edfb4bd (diff)
downloadcpython-ab0cad520dc97cc429b912a0c49dfe75305dc684.zip
cpython-ab0cad520dc97cc429b912a0c49dfe75305dc684.tar.gz
cpython-ab0cad520dc97cc429b912a0c49dfe75305dc684.tar.bz2
Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.
This fixes the problem reported in bug report #438786.
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 2bd9ba3..1e4334d 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -288,7 +288,7 @@ platform: $(PYTHON)
# Build the shared modules
sharedmods: $(PYTHON)
- ./$(PYTHON) -E $(srcdir)/setup.py build
+ CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
# buildno should really depend on something like LIBRARY_SRC
buildno: $(PARSER_OBJS) \