diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power7')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/power7/Makefile b/sysdeps/powerpc/powerpc64/power7/Makefile index 89a2296085..9a0e7474bb 100644 --- a/sysdeps/powerpc/powerpc64/power7/Makefile +++ b/sysdeps/powerpc/powerpc64/power7/Makefile @@ -1,7 +1,11 @@ ifeq ($(subdir),elf) # Prevent the use of VSX registers and insns in _dl_start, which under -O3 # optimization may require a TOC reference before relocations are resolved. -CFLAGS-rtld.c += -mno-vsx +CFLAGS-rtld.c += $(ibm128-abi-CFLAGS) -mno-vsx + +# Likewise, remove options to build IEEE long double +$(foreach suf,$(all-object-suffixes),$(objpfx)rtld$(suf)): \ + sysdep-CFLAGS := $(filter-out -mabi=ieeelongdouble,$(sysdep-CFLAGS)) endif ifeq ($(subdir),string) |