aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-08-11 21:45:32 +0000
committerlloyd <[email protected]>2010-08-11 21:45:32 +0000
commit0417b98db5b490a12ef7aae707713a2d13599f4e (patch)
tree602eb2f0173adcdb3e1e5dbe37a8a8d5675557a4 /configure.py
parentb84b75dbf582a45be50d51bdcd837dcc73e9625c (diff)
Handle the cast of configure.py --cpu=i386 --enable-ssse3. Previously
this would only enable SSSE3 and not SSE2, though SSE2 is a subset. Now that works.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index bdf960c95..db2beaca7 100755
--- a/configure.py
+++ b/configure.py
@@ -347,6 +347,11 @@ def process_command_line(args):
if not enabled_or_disabled_isa(isa):
options.disable_isa_extns.append(isa)
+ for isa in options.enable_isa_extns:
+ for dep in isa_deps.get(isa, '').split(','):
+ if not enabled_or_disabled_isa(dep):
+ options.enable_isa_extns.append(dep)
+
return options
"""