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

2016-08-09 Thread Michael Ellerman
Nicholas Piggin writes: > On Tue, 9 Aug 2016 22:43:46 +1000 > Michael Ellerman wrote: >> 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_MACHI

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

2016-08-09 Thread Nicholas Piggin
On Tue, 9 Aug 2016 22:43:46 +1000 Michael Ellerman wrote: > When we introduced the little endian support, we added the endian flags > to CC directly using override. I don't know the history of why we did > that, I suspect no one does. > > Although this mostly works, it has one bug, which is tha