28 lines
935 B
Diff
28 lines
935 B
Diff
From 9c476c9a6080d37118bfd478af17c239787682d3 Mon Sep 17 00:00:00 2001
|
|
Date: Wed, 4 May 2016 17:55:27 +0300
|
|
Subject: Нашему компилятору не нравится '--std=c99', он хочет -std=c99
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
---
|
|
cmake/Modules/WaffleDefineCompilerFlags.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cmake/Modules/WaffleDefineCompilerFlags.cmake b/cmake/Modules/WaffleDefineCompilerFlags.cmake
|
|
index 710b7e0..c85b12d 100644
|
|
--- a/cmake/Modules/WaffleDefineCompilerFlags.cmake
|
|
+++ b/cmake/Modules/WaffleDefineCompilerFlags.cmake
|
|
@@ -37,7 +37,7 @@ if (NOT MSVC)
|
|
#
|
|
# compiler flags
|
|
#
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --std=c99")
|
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
|
set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 -DDEBUG")
|
|
|
|
--
|
|
2.16.4
|
|
|