Explorar o código

add necessary gcc abi config for powerpc64 targets

Rich Felker %!s(int64=8) %!d(string=hai) anos
pai
achega
a327b7fb87
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      litecross/Makefile

+ 4 - 0
litecross/Makefile

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