summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-06-11 13:52:20 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-06-11 13:56:57 +0300
commitbb70d41932a23669dedf108d1af8581a3e7813d8 (patch)
treedfd5348a841ac27b1711bff430af6628ee416a87 /sql
parent1b86ef9f5424ae5af17ec352516f1d7ac129a5c3 (diff)
downloadmariadb-git-bb70d41932a23669dedf108d1af8581a3e7813d8.tar.gz
MDEV-19709: Unbreak the build for clang
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_bitmap.h b/sql/sql_bitmap.h
index 4f1acb60161..b37905e205b 100644
--- a/sql/sql_bitmap.h
+++ b/sql/sql_bitmap.h
@@ -30,7 +30,7 @@
/*
Workaround GCC optimizer bug (generating SSE instuctions on unaligned data)
*/
-#if defined (__GNUC__) && defined(__x86_64__) && (__GNUC__ < 6)
+#if defined (__GNUC__) && defined(__x86_64__) && (__GNUC__ < 6) && !defined(__clang__)
#define NEED_GCC_NO_SSE_WORKAROUND
#endif