mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
diff --git a/lib/util/math.c b/lib/util/math.c
|
|
index f2f77f7..f13b553 100644
|
|
--- a/lib/util/math.c
|
|
+++ b/lib/util/math.c
|
|
@@ -10,7 +10,7 @@
|
|
/* The following will automatically generate several version of
|
|
* this function, targeted at different architectures. This
|
|
* is only supported by GCC 6 or newer. */
|
|
-#if defined(__GNUC__) && __GNUC__ >= 6 && !defined(__clang__) \
|
|
+#if 0 && defined(__GNUC__) && __GNUC__ >= 6 && !defined(__clang__) \
|
|
&& (defined(__i386__) || defined(__x86_64__)) \
|
|
&& defined(__ELF__)
|
|
__attribute__((target_clones("bmi", "arch=core2", "arch=atom", "default")))
|
|
@@ -29,7 +29,7 @@ spdk_u32log2(uint32_t x)
|
|
/* The following will automatically generate several version of
|
|
* this function, targeted at different architectures. This
|
|
* is only supported by GCC 6 or newer. */
|
|
-#if defined(__GNUC__) && __GNUC__ >= 6 && !defined(__clang__) \
|
|
+#if 0 && defined(__GNUC__) && __GNUC__ >= 6 && !defined(__clang__) \
|
|
&& (defined(__i386__) || defined(__x86_64__)) \
|
|
&& defined(__ELF__)
|
|
__attribute__((target_clones("bmi", "arch=core2", "arch=atom", "default")))
|