aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 2e0c31fe2..93192abdd 100755
--- a/configure.py
+++ b/configure.py
@@ -463,6 +463,9 @@ class ArchInfo(object):
logging.info('Assuming unaligned memory access works on this CPU')
macros.append('TARGET_UNALIGNED_LOADSTOR_OK %d' % (unaligned_ok))
+ if self.basename == 'amd64':
+ macros.append('TARGET_CPU_HAS_SSE2')
+
return macros
class CompilerInfo(object):