aports/community/firefox-esr/discard-x86-precision-musl.patch

12 lines
298 B
Diff

--- a/js/src/jsnum.cpp
+++ b/js/src/jsnum.cpp
@@ -1120,7 +1120,7 @@
void
js::FIX_FPU()
{
-#if (defined __GNUC__ && defined __i386__) || \
+#if (defined __GLIBC__ && defined __i386__) || \
(defined __SUNPRO_CC && defined __i386)
short control;
asm("fstcw %0" : "=m" (control) : );