add necessary gcc abi config for powerpc64 targets

This commit is contained in:
Rich Felker 2016-12-29 14:40:40 -05:00
parent 00d4fb72be
commit a327b7fb87
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ ifneq ($(filter x86_64%x32,$(TARGET)),)
GCC_CONFIG_FOR_TARGET += --with-abi=x32 GCC_CONFIG_FOR_TARGET += --with-abi=x32
endif endif
ifneq ($(findstring powerpc64,$(TARGET)),)
GCC_CONFIG_FOR_TARGET += --with-abi=elfv2
endif
ifneq ($(findstring mips64,$(TARGET))$(findstring mipsisa64,$(TARGET)),) ifneq ($(findstring mips64,$(TARGET))$(findstring mipsisa64,$(TARGET)),)
ifneq ($(findstring n32,$(TARGET)),) ifneq ($(findstring n32,$(TARGET)),)
GCC_CONFIG_FOR_TARGET += --with-abi=n32 GCC_CONFIG_FOR_TARGET += --with-abi=n32