diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-22 03:34:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-22 03:34:55 +0300 |
commit | 04dd5dab7669440d4d5e4bb4d72002ab7fb38912 (patch) | |
tree | b0da194bea30d0bbaed8a0782c22cfe8435fc73a /src | |
parent | 4f378fa59f53542f95c77ab250f47c9fa3e94e62 (diff) | |
download | plus-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')
-rw-r--r-- | src/localconsts.h | 2 |
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 |