summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-10 19:15:24 -0700
committerGitHub <noreply@github.com>2019-06-10 19:15:24 -0700
commit30fd7a476bbd6bb8096c1349698463fa8a3bca18 (patch)
treece34c7682822031d24a92abf9e2b05f78447d399 /Modules
parent3621bf20e94ac3647a8f31a68bf7414dd4b50398 (diff)
downloadcpython-git-30fd7a476bbd6bb8096c1349698463fa8a3bca18.tar.gz
closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064)
When the line is uncommented, the equals character causes it to be incorrectly interpreted as a macro definition by makesetup. This results in invalid Makefile output. The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary. (cherry picked from commit 408a2ef1aceff1f4270c44552fa39ef93d9283e3) Co-authored-by: aaronpaulhurst <aaronpaulhurst@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index 8cc6bf0540..344e03ada9 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -340,7 +340,7 @@ _symtable symtablemodule.c
# Interface to the Expat XML parser
# More information on Expat can be found at www.libexpat.org.
#
-#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI
+#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY -DUSE_PYEXPAT_CAPI
# Hye-Shik Chang's CJKCodecs