Travis uses gcc 4.6.3 and it does not support c11. Trying c99.

This commit is contained in:
sago007
2016-11-27 21:31:03 +01:00
parent 28ad1bc558
commit 30bceb68dc

View File

@@ -49,8 +49,8 @@ GLSL_TEXTURES =1 # for shaders on models, leifxdither, etc
GLSL_BACKEND =1 # for the entire backend.
#Possible values "gnu90", "gnu99" and "gnu11". Note that the engine uses gnu-extensions. gnu90 is broken in the commit where this message is added.
CFLAGS+="-std=gnu11"
#Possible values "gnu90", "gnu99" and "gnu11". Note that the engine uses gnu-extensions. gnu90 is broken in the commit where this message is added. Travis does not support gnu11 at the moment.
CFLAGS+="-std=gnu99"
# You can change these although you probably don't need to