Thread (4 messages) flat view 4 messages, 3 authors, 2016-08-11

Re: [PATCH] powerpc/Makefile: Use cflags-y/aflags-y for setting endian options

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-08-10 05:20:08

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help