summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2008-07-16 13:24:06 (GMT)
committerJesse Noller <jnoller@gmail.com>2008-07-16 13:24:06 (GMT)
commita6c5dc07f46c21f3fab81ce44321239378c09548 (patch)
tree9e05f8b58c8ac2eeedfd2244419d7d155348b090
parent64b7e501f46938a15e6ee2eaaaf6fc2b56e4abd8 (diff)
downloadcpython-a6c5dc07f46c21f3fab81ce44321239378c09548.zip
cpython-a6c5dc07f46c21f3fab81ce44321239378c09548.tar.gz
cpython-a6c5dc07f46c21f3fab81ce44321239378c09548.tar.bz2
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
-rw-r--r--Lib/distutils/unixccompiler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index 6144efc..045368a 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -76,8 +76,7 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
if 'ARCHFLAGS' in os.environ and not stripArch:
# User specified different -arch flags in the environ,
# see also distutils.sysconfig
- compiler_so = compiler_so + ' ' + os.environ['ARCHFLAGS']
-
+ compiler_so = compiler_so + os.environ['ARCHFLAGS'].split()
if stripSysroot:
try: