summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-10-23 10:28:48 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-10-23 10:28:48 +0200
commit6b69e3c71741d99a54c6f4dcb605a3c241239aeb (patch)
treed7ae0ea9c1ef4c8cbf205a5b513e78bf53831925 /common.py
parent06c43beee08052bae3832586559889d74fb538b6 (diff)
scons: ppc support.
Diffstat (limited to 'common.py')
-rw-r--r--common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.py b/common.py
index dd64e0f434..cc2582f1a4 100644
--- a/common.py
+++ b/common.py
@@ -24,6 +24,7 @@ _machine_map = {
'i486': 'x86',
'i586': 'x86',
'i686': 'x86',
+ 'ppc' : 'ppc',
'x86_64': 'x86_64',
}
if 'PROCESSOR_ARCHITECTURE' in os.environ:
@@ -56,7 +57,7 @@ def AddOptions(opts):
opts.Add(BoolOption('profile', 'profile build', 'no'))
#opts.Add(BoolOption('quiet', 'quiet command lines', 'no'))
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
- allowed_values=('generic', 'x86', 'x86_64')))
+ allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
opts.Add(EnumOption('platform', 'target platform', default_platform,
allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince')))
opts.Add(BoolOption('llvm', 'use LLVM', 'no'))