powerpc: Require gcc 4.0 on 64-bit
authorAnton Blanchard <anton@samba.org>
Tue, 17 Apr 2012 18:42:54 +0000 (18:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Apr 2012 05:37:26 +0000 (15:37 +1000)
commit82a8508406906a39ed04cb59d83b1703d78dc8b3
treed6d07f56aedde9968c33847af31343778406a3cc
parent694caf0255dcab506d1e174c96a65ab65d96e108
powerpc: Require gcc 4.0 on 64-bit

Older versions of gcc had issues with using -maltivec together with
-mcpu of a non altivec capable CPU. We work around it by specifying
-mcpu=970, but the logic is complicated.

In preparation for adding more -mcpu targets, remove the workaround
and just require gcc 4.0 for 64-bit builds.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Makefile