mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Merged revisions 82791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82791 | ronald.oussoren | 2010-07-11 10:52:52 +0200 (Sun, 11 Jul 2010) | 4 lines Fix for issue #9164: with this patch sysconfig and distuls don't break when duplicate '-arch foo' flags end up in CFLAGS (which may happen when building a universal build using macports) ........
This commit is contained in:
parent
23a2ea5368
commit
a729721628
2 changed files with 3 additions and 2 deletions
|
@ -144,8 +144,7 @@ def get_platform ():
|
||||||
cflags = get_config_vars().get('CFLAGS')
|
cflags = get_config_vars().get('CFLAGS')
|
||||||
|
|
||||||
archs = re.findall('-arch\s+(\S+)', cflags)
|
archs = re.findall('-arch\s+(\S+)', cflags)
|
||||||
archs.sort()
|
archs = tuple(sorted(set(archs)))
|
||||||
archs = tuple(archs)
|
|
||||||
|
|
||||||
if len(archs) == 1:
|
if len(archs) == 1:
|
||||||
machine = archs[0]
|
machine = archs[0]
|
||||||
|
|
|
@ -81,6 +81,8 @@ C-API
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #9164: Ensure sysconfig handles dupblice archs while building on OSX
|
||||||
|
|
||||||
- Issue #7646: The fnmatch pattern cache no longer grows without bound.
|
- Issue #7646: The fnmatch pattern cache no longer grows without bound.
|
||||||
|
|
||||||
- Issue #9136: Fix 'dictionary changed size during iteration'
|
- Issue #9136: Fix 'dictionary changed size during iteration'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue