mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Let the distutils build handle multiple architectures in the ARCH= flag too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -241,10 +241,11 @@ class Configuration(object):
|
||||
|
||||
self.libs = ['stdc++']
|
||||
if not self.ARCH == "":
|
||||
self.cflags.append("-arch")
|
||||
self.cflags.append(self.ARCH)
|
||||
self.lflags.append("-arch")
|
||||
self.lflags.append(self.ARCH)
|
||||
for arch in self.ARCH.split(','):
|
||||
self.cflags.append("-arch")
|
||||
self.cflags.append(arch)
|
||||
self.lflags.append("-arch")
|
||||
self.lflags.append(arch)
|
||||
|
||||
if not os.environ.get('CC') or not os.environ.get('CXX'):
|
||||
self.CC = os.environ["CC"] = self.getWxConfigValue('--cc')
|
||||
|
||||
Reference in New Issue
Block a user