Switching to C11 warnings for the Unix builds.

This commit is contained in:
Cas Cremers 2019-01-04 13:18:38 +01:00
parent d56c2cafe6
commit 7ee64eaf89

View File

@ -9,7 +9,7 @@
message (STATUS "Building Linux version") message (STATUS "Building Linux version")
# Static where possible (i.e. only not on the APPLE) # Static where possible (i.e. only not on the APPLE)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -m32 -Wtrampolines") set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -m32 -std=c11 -Wtrampolines")
set (scythername "scyther-linux") set (scythername "scyther-linux")
add_executable (${scythername} ${Scyther_sources}) add_executable (${scythername} ${Scyther_sources})