Commits

Jesse Noller committed a5191d7

Apply patch for issue 3090: ARCHFLAGS parsing incorrect

Comments (0)

Files changed (1)

Lib/distutils/unixccompiler.py

     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: