powerpc: Don't use -mno-strict-align on clang
authorAnton Blanchard <anton@samba.org>
Mon, 25 May 2015 22:53:28 +0000 (08:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jun 2015 07:33:05 +0000 (17:33 +1000)
commit92d6cf2dab83cfb00b3d80fd38a38a77c6873277
treec9f6ed082e8b7e6c6a9089cf179813c92e341ee7
parenta50a862e74a9d7b447df30c33aa3d534ce3a977a
powerpc: Don't use -mno-strict-align on clang

We added -mno-strict-align in commit f036b3681962 (powerpc: Work around little
endian gcc bug) to fix gcc bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

Clang doesn't understand it. We need to use a conditional because we can't use the
simpler call cc-option here.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile