diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc64/Makefile')
-rw-r--r-- | sysdeps/powerpc/powerpc64/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile index 6e88df1d69..dd49dbbce2 100644 --- a/sysdeps/powerpc/powerpc64/Makefile +++ b/sysdeps/powerpc/powerpc64/Makefile @@ -25,6 +25,12 @@ no-special-regs := $(sort $(foreach n,40 41 50 51 60 61 62 63 \ -ffixed-v$n)) \ -ffixed-vrsave -ffixed-vscr -mno-altivec -mno-vsx +# Likewise, we must disable IEEE long double support as some (all?) +# compilers will not accept the above options with IEEE long double. +ifeq ($(ibm128-fcts),yes) +no-special-regs += -mabi=ibmlongdouble +endif + # Need to prevent gcc from using fprs in code used during dynamic linking. CFLAGS-dl-runtime.os = $(no-special-regs) |