summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index 847c4a624..284acfe21 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -98,7 +98,10 @@ OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh", "atanh",
"copysign", "nextafter"]
-OPTIONAL_HEADERS = ["emmintrin.h" # SSE2, amd64 only
+OPTIONAL_HEADERS = [
+# sse headers only enabled automatically on amd64/x32 builds
+ "xmmintrin.h", # SSE
+ "emmintrin.h", # SSE2
]
# optional gcc compiler builtins and their call arguments