Nicholas Piggin [off-list ref] writes:
On Tue, 9 Aug 2016 22:43:46 +1000
Michael Ellerman [off-list ref] wrote:
quoted
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index ca254546cd05..1934707bf321 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -66,29 +66,28 @@ endif
UTS_MACHINE := $(OLDARCH)
ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
-override CC += -mlittle-endian
-ifneq ($(cc-name),clang)
-override CC += -mno-strict-align
-endif
-override AS += -mlittle-endian
override LD += -EL
-override CROSS32CC += -mlittle-endian
override CROSS32AS += -mlittle-endian
Can't we get rid of CROSS32AS? If not, then should it get the
-mbig-endian override?
It's unused. I have a patch to remove it lying around, let me dig up
that series.
cheers