Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37851590
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: spdk

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: spdk-23.05-alpinelinux-remove-stupid.patch
Скачать


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")))
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin