From a327b7fb87b30e7558bfd221e940304cdb1082f0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 29 Dec 2016 14:40:40 -0500 Subject: [PATCH] add necessary gcc abi config for powerpc64 targets --- litecross/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litecross/Makefile b/litecross/Makefile index 3a31700..46d95db 100644 --- a/litecross/Makefile +++ b/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