Skip to content
Commit 9b4f1b73 authored by Romain Naour's avatar Romain Naour Committed by Thomas Petazzoni
Browse files

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] 0024465d
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3


[3] d2903aaf

Signed-off-by: default avatarRomain Naour <romain.naour@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 14defc5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment