[PATCH 1/2] powerpc/64: Remove duplicated -mabi=elfv2 for little endian targets

Bin Meng bmeng.cn at gmail.com
Sun Sep 30 16:25:19 AEST 2018


The -mabi=elfv2 is currently specified twice in the makefile. Remove
the one that does not test compiler.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 arch/powerpc/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 11a1acb..16b0695 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -93,7 +93,6 @@ ifdef CONFIG_PPC64
 cflags-$(CONFIG_CPU_BIG_ENDIAN)		+= $(call cc-option,-mabi=elfv1)
 cflags-$(CONFIG_CPU_BIG_ENDIAN)		+= $(call cc-option,-mcall-aixdesc)
 aflags-$(CONFIG_CPU_BIG_ENDIAN)		+= $(call cc-option,-mabi=elfv1)
-aflags-$(CONFIG_CPU_LITTLE_ENDIAN)	+= -mabi=elfv2
 endif
 
 ifneq ($(cc-name),clang)
-- 
2.7.4



More information about the Linuxppc-dev mailing list