summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-22 03:34:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-22 03:34:55 +0300
commit04dd5dab7669440d4d5e4bb4d72002ab7fb38912 (patch)
treeb0da194bea30d0bbaed8a0782c22cfe8435fc73a /src/localconsts.h
parent4f378fa59f53542f95c77ab250f47c9fa3e94e62 (diff)
downloadplus-04dd5dab7669440d4d5e4bb4d72002ab7fb38912.tar.gz
plus-04dd5dab7669440d4d5e4bb4d72002ab7fb38912.tar.bz2
plus-04dd5dab7669440d4d5e4bb4d72002ab7fb38912.tar.xz
plus-04dd5dab7669440d4d5e4bb4d72002ab7fb38912.zip
Disable simd for clang, because it not support target attribute.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 2d2b2d548..544b85a02 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -139,7 +139,9 @@
#endif // ENABLE_CILKPLUS
#ifdef __x86_64__
+#ifndef __clang__
#define SIMD_SUPPORTED
+#endif // __clang__
#endif // __x86_64__
#ifdef SIMD_SUPPORTED