From 66d1e31292a8c05d172872fe73880ca6d3b68104 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 5 Nov 2019 21:01:42 +0000 Subject: ppc: add configure check for older compilers erroring on 'd' constraint --- src/math/powerpc/fabs.c | 2 +- src/math/powerpc/fma.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -#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 -#ifdef _SOFT_FLOAT +#if defined(_SOFT_FLOAT) || defined(BROKEN_PPC_D_ASM) #include "../fma.c" -- cgit v1.2.1