summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-07 22:35:21 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-07 22:35:21 (GMT)
commit55ea8a7b5bc39370103e7ceb51595765054cbadf (patch)
tree99aeceff69a91e36316a52f189a48cfda1a0c2e5 /Modules
parent3b46a50d63527a059e047847e4ca10497054c5fd (diff)
downloadcpython-55ea8a7b5bc39370103e7ceb51595765054cbadf.zip
cpython-55ea8a7b5bc39370103e7ceb51595765054cbadf.tar.gz
cpython-55ea8a7b5bc39370103e7ceb51595765054cbadf.tar.bz2
pass $PLATFORM into config.c
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 9b28a95..588e953 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -86,7 +86,8 @@ $(LIB): $& $(OBJS) Makefile
mv python ../python
config.o: config.c Makefile $(MYLIBS)
- $(LINKCC) $(CFLAGS) -DPYTHONPATH=\"$(PYTHONPATH)\" -c config.c
+ $(LINKCC) $(CFLAGS) -DPYTHONPATH=\"$(PYTHONPATH)\" \
+ -DPLATFORM=\"$(MACHDEP)\" -c config.c
clean:
-rm -f *.o python core *~ [@,#]* *.old *.orig *.rej