package/supertux: fix bug when compiling with PPC altivec vectorization
authorRomain Naour <romain.naour@gmail.com>
Sat, 25 Mar 2017 21:59:00 +0000 (22:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Apr 2017 10:15:27 +0000 (12:15 +0200)
commit9b4f1b73e7711a3eb3a233b7d727fd9d1fa4cf36
tree1e3da34078e4f77eff200502073814b910149a82
parent14defc5d6f125a0718f2aa8190f729d44777886b
package/supertux: fix bug when compiling with PPC altivec vectorization

>From [1]:
Acording to a bug report in GCC [2]:
"You need to use -std=g++11 or undefine bool after the include of altivec.h
as context sensitive keywords is not part of the C++11 standard".

So use gnu++11 instead of c++11 only for altivec system.

This allow to revert [3] and keep Altivec vectorization.

[1] 0024465d8a7b51f7fc7c9e8581072695d869adca
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3
[3] d2903aaf1314b50a8a10ce937d2b33c5c42e463e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/supertux/supertux.mk