powerpc: Only use -mabi=altivec if toolchain supports it
authorAnton Blanchard <anton@samba.org>
Mon, 25 May 2015 22:53:26 +0000 (08:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jun 2015 07:33:05 +0000 (17:33 +1000)
commit1fb3f5a7ca599f322e6bf21272ad215301159aa0
tree36f1ed9eafd40ff14abcd9645b2d3a328af32bd5
parentb91c1e3e7a6f22a6b898e345b745b6a43273c973
powerpc: Only use -mabi=altivec if toolchain supports it

The -mabi=altivec option is not recognised on LLVM, so use call cc-option
to check for support.

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