diff options
author | Anton Blanchard <anton@samba.org> | 2013-09-22 22:05:13 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 01:48:57 -0400 |
commit | f036b368196263f648bede42bbbe1c1e6e834d10 (patch) | |
tree | fd4df1872a0f84ac4e9d0e169afc359043f251ce /arch/powerpc/Makefile | |
parent | 0b5e6661ac69983a54d9832ac33fd27d733306f8 (diff) |
powerpc: Work around little endian gcc bug
Temporarily work around an ICE we are seeing while building
in little endian mode:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index d3c91bf923b7..607acf54a425 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -66,7 +66,7 @@ endif | |||
66 | UTS_MACHINE := $(OLDARCH) | 66 | UTS_MACHINE := $(OLDARCH) |
67 | 67 | ||
68 | ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) | 68 | ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) |
69 | override CC += -mlittle-endian | 69 | override CC += -mlittle-endian -mno-strict-align |
70 | override AS += -mlittle-endian | 70 | override AS += -mlittle-endian |
71 | override LD += -EL | 71 | override LD += -EL |
72 | override CROSS32CC += -mlittle-endian | 72 | override CROSS32CC += -mlittle-endian |