summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2019-11-05 21:01:42 +0000
committerRich Felker <dalias@aerifal.cx>2019-11-05 21:48:31 -0500
commit66d1e31292a8c05d172872fe73880ca6d3b68104 (patch)
treefb0a033ae7cb48b39fc050b9c0def730bb4e6953 /src
parent90251cf73dfdd44e7a3f085d236e89a7dff1b00b (diff)
downloadmusl-66d1e31292a8c05d172872fe73880ca6d3b68104.tar.gz
ppc: add configure check for older compilers erroring on 'd' constraint
Diffstat (limited to 'src')
-rw-r--r--src/math/powerpc/fabs.c2
-rw-r--r--src/math/powerpc/fma.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/powerpc/fabs.c b/src/math/powerpc/fabs.c
index f6ec4433..0efc21ef 100644
--- a/src/math/powerpc/fabs.c
+++ b/src/math/powerpc/fabs.c
@@ -1,6 +1,6 @@
#include <math.h>
-#ifdef _SOFT_FLOAT
+#if defined(_SOFT_FLOAT) || defined(BROKEN_PPC_D_ASM)
#include "../fabs.c"
diff --git a/src/math/powerpc/fma.c b/src/math/powerpc/fma.c
index fd268f5f..135c9903 100644
--- a/src/math/powerpc/fma.c
+++ b/src/math/powerpc/fma.c
@@ -1,6 +1,6 @@
#include <math.h>
-#ifdef _SOFT_FLOAT
+#if defined(_SOFT_FLOAT) || defined(BROKEN_PPC_D_ASM)
#include "../fma.c"