void-packages/srcpkgs/rubberband/patches/fix-armv5tel.patch

12 lines
381 B
Diff

--- src/system/sysutils.cpp 2020-09-10 15:30:36.000000000 +0200
+++ src/system/sysutils.cpp 2020-10-03 19:35:03.241898331 +0200
@@ -189,7 +189,7 @@
fesetenv(FE_DFL_DISABLE_DENORMS_ENV);
#endif
#endif
-#if defined __ARMEL__
+#if defined __ARMEL__ && (__ARM_ARCH > 5)
// ARM32
static const unsigned int x = 0x04086060;
static const unsigned int y = 0x03000000;