From 7ee64eaf896053f795f04bccf65ecb8fac6864af Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Fri, 4 Jan 2019 13:18:38 +0100 Subject: [PATCH] Switching to C11 warnings for the Unix builds. --- src/BuildUnix.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildUnix.cmake b/src/BuildUnix.cmake index a3480fe..d4c84b2 100644 --- a/src/BuildUnix.cmake +++ b/src/BuildUnix.cmake @@ -9,7 +9,7 @@ message (STATUS "Building Linux version") # 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") add_executable (${scythername} ${Scyther_sources})