package/gcc: disable libitm for sparc <v9
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 15 Jan 2015 00:29:44 +0000 (21:29 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Jan 2015 08:36:16 +0000 (09:36 +0100)
commit9f86c71cd9a545eee5bfe7fc593fdffef4ddd2e8
tree4b662e678f72a2613749659aecf3810c6c5445c9
parent691fc0a1982294cf12fd3b3e9d1c3168429f83cf
package/gcc: disable libitm for sparc <v9

libitm (transactional memory) needs SPARC V9+ ISA, otherwise when
enabling C++ the toolchain fails to build:

/tmp/cclQ6hrD.s: Assembler messages:
/tmp/cclQ6hrD.s:1261: Error: Architecture mismatch on "rd".
/tmp/cclQ6hrD.s:1261:  (Requires v9|v9a|v9b; requested architecture is
v8.)
Makefile:517: recipe for target 'beginend.lo' failed
make[5]: *** [beginend.lo] Error 1

So disable it for our current (v8, leon3) support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc.mk