powerpc: Don't use gcc specific options on clang
authorAnton Blanchard <anton@samba.org>
Mon, 25 May 2015 22:53:29 +0000 (08:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jun 2015 07:33:05 +0000 (17:33 +1000)
commit238abecde8ad43f914e095fcf23e0bd35dc7a7f2
tree2df7e8eaf12ce6542caf9329b40c2fdaf99cf05d
parent92d6cf2dab83cfb00b3d80fd38a38a77c6873277
powerpc: Don't use gcc specific options on clang

We have code to choose between several options, eg. -mabi=elfv2 vs
-mcall-aixdesc, and -mcmodel=medium vs -mminimal-toc. But these are all
GCC specific, so use cc-option on all of them.

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