aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-08-22 21:03:03 -0400
committerJack Lloyd <[email protected]>2015-08-22 21:03:03 -0400
commit97b6e192e752fe8a0fd95116a84d7b29d8ed71f5 (patch)
treecd17760bd55334a7efdd888da40ef8f9c2297412
parent04f422d744c4f6db7881f9e2d7caf7c6fc6dcd82 (diff)
On x86-32, anything using the simd wrapper needs to be pushed to the SSE2 obj
-rwxr-xr-xconfigure.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index 9a8f6a805..68b049651 100755
--- a/configure.py
+++ b/configure.py
@@ -1716,10 +1716,14 @@ def generate_amalgamation(build_config, options):
for mod in build_config.modules:
tgt = ''
- if not options.single_amalgamation_file and mod.need_isa != []:
- tgt = '_'.join(sorted(mod.need_isa))
- if tgt == 'sse2' and options.arch == 'x86_64':
- tgt = '' # SSE2 is always available on x86-64
+ if not options.single_amalgamation_file:
+ if mod.need_isa != []:
+ tgt = '_'.join(sorted(mod.need_isa))
+ if tgt == 'sse2' and options.arch == 'x86_64':
+ tgt = '' # SSE2 is always available on x86-64
+
+ if options.arch == 'x86_32' and 'simd' in mod.requires:
+ tgt = 'sse2'
if tgt not in botan_amalg_files:
botan_amalg_files[tgt] = open_amalg_file(tgt)