diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2019-11-05 21:01:42 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-11-05 21:48:31 -0500 |
commit | 66d1e31292a8c05d172872fe73880ca6d3b68104 (patch) | |
tree | fb0a033ae7cb48b39fc050b9c0def730bb4e6953 /src/math | |
parent | 90251cf73dfdd44e7a3f085d236e89a7dff1b00b (diff) | |
download | musl-66d1e31292a8c05d172872fe73880ca6d3b68104.tar.gz musl-66d1e31292a8c05d172872fe73880ca6d3b68104.tar.xz musl-66d1e31292a8c05d172872fe73880ca6d3b68104.zip |
ppc: add configure check for older compilers erroring on 'd' constraint
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/powerpc/fabs.c | 2 | ||||
-rw-r--r-- | src/math/powerpc/fma.c | 2 |
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" |