aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-07 16:08:49 +0000
committerlloyd <[email protected]>2009-07-07 16:08:49 +0000
commit442253a999e29216e5e05f8d5c5270e4eaeffeb4 (patch)
treee6f847d03a16513c86d7174884cf4a68bc936d85 /configure.py
parentd9fea92eecbad7863518bd07f2b80ead41494894 (diff)
If guess_processor() fails and just reutrns the base proc (platform.machine()),
first run that through canon_processor() to make sure we get a valid arch and submodel pairing.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index f98f59d53..457e1d764 100755
--- a/configure.py
+++ b/configure.py
@@ -504,7 +504,7 @@ def guess_processor(archinfo):
return (base_proc,submodel)
# No matches, so just use the base proc type
- return (base_proc,base_proc)
+ return canon_processor(archinfo, base_proc)
"""
Read a whole file into memory as a string