diff options
author | Gonzalo Exequiel Pedone | 2025-03-18 23:47:50 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2025-03-18 23:47:50 -0300 |
commit | a423bc6fca3d99a9bcdbdbe12a0c1db52fd2c1f6 (patch) | |
tree | b5bf70c2ff4ef9998be96fb3b271a0b8a8dc2458 /0007-Fix-missing-builtin-in-riscv.patch | |
download | aur-android-riscv64-mariadb.tar.gz |
Package updated to 11.7.2.
Diffstat (limited to '0007-Fix-missing-builtin-in-riscv.patch')
-rw-r--r-- | 0007-Fix-missing-builtin-in-riscv.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/0007-Fix-missing-builtin-in-riscv.patch b/0007-Fix-missing-builtin-in-riscv.patch new file mode 100644 index 000000000000..5be7d1b2f018 --- /dev/null +++ b/0007-Fix-missing-builtin-in-riscv.patch @@ -0,0 +1,11 @@ +--- a/include/my_cpu.h ++++ b/include/my_cpu.h +@@ -96,8 +96,6 @@ + #elif defined(_ARCH_PWR8) + /* Changed from __ppc_get_timebase for musl and clang compatibility */ + __builtin_ppc_get_timebase(); +-#elif defined __GNUC__ && defined __riscv +- __builtin_riscv_pause(); + #elif defined __GNUC__ + /* Mainly, prevent the compiler from optimizing away delay loops */ + __asm__ __volatile__ ("":::"memory"); |