pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/574913479f26b5ff48827861bce68281be01d16e

8faa60c69660fa.css" /> bpo-36635, bpo-36696: Fix setup.py on AIX (GH-12922) · python/cpython@5749134 · GitHub
Skip to content

Commit 5749134

Browse files
authored
bpo-36635, bpo-36696: Fix setup.py on AIX (GH-12922)
xlc compiler doesn't support "-D define" flag only "-Ddefine".
1 parent 84b4784 commit 5749134

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -726,12 +726,12 @@ def detect_simple_extensions(self):
726726
self.add(Extension("_heapq", ["_heapqmodule.c"]))
727727
# C-optimized pickle replacement
728728
self.add(Extension("_pickle", ["_pickle.c"],
729-
extra_compile_args=['-D Py_BUILD_CORE_MODULE']))
729+
extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
730730
# atexit
731731
self.add(Extension("atexit", ["atexitmodule.c"]))
732732
# _json speedups
733733
self.add(Extension("_json", ["_json.c"],
734-
extra_compile_args=['-D Py_BUILD_CORE_MODULE']))
734+
extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
735735

736736
# profiler (_lsprof is for cProfile.py)
737737
self.add(Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']))
@@ -816,7 +816,7 @@ def detect_test_extensions(self):
816816

817817
# Python Internal C API test module
818818
self.add(Extension('_testinternalcapi', ['_testinternalcapi.c'],
819-
extra_compile_args=['-D Py_BUILD_CORE_MODULE']))
819+
extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
820820

821821
# Python PEP-3118 (buffer protocol) test module
822822
self.add(Extension('_testbuffer', ['_testbuffer.c']))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy