2018-06-03 13:43:33 +00:00
|
|
|
From 0328a5760d98aeb854b42cdad4f9bb1d492fb171 Mon Sep 17 00:00:00 2001
|
2018-02-02 13:35:59 +00:00
|
|
|
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
|
|
|
Date: Tue, 12 Dec 2017 15:25:45 +0100
|
2018-03-05 10:26:26 +00:00
|
|
|
Subject: [PATCH 1/2] Completely remove additional CXXFLAGS.
|
2018-02-02 13:35:59 +00:00
|
|
|
|
|
|
|
---
|
2018-05-24 12:31:38 +00:00
|
|
|
cmake/CompilerFlags.cmake | 8 --------
|
|
|
|
1 file changed, 8 deletions(-)
|
2018-02-02 13:35:59 +00:00
|
|
|
|
2018-04-03 14:01:35 +00:00
|
|
|
diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake
|
2018-05-24 12:31:38 +00:00
|
|
|
index f5860a9..d27e009 100644
|
2018-04-03 14:01:35 +00:00
|
|
|
--- a/cmake/CompilerFlags.cmake
|
|
|
|
+++ b/cmake/CompilerFlags.cmake
|
2018-05-24 12:31:38 +00:00
|
|
|
@@ -1,12 +1,4 @@
|
2018-02-02 13:35:59 +00:00
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
|
|
|
|
- -Wall \
|
|
|
|
- -Wextra \
|
|
|
|
- -Werror \
|
|
|
|
- -pipe \
|
2018-05-24 12:31:38 +00:00
|
|
|
- -Wno-unused-function \
|
2018-02-02 13:35:59 +00:00
|
|
|
- -pedantic \
|
|
|
|
- -Wunreachable-code")
|
|
|
|
|
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
|
|
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
|
|
|
|
--
|
2018-05-24 12:31:38 +00:00
|
|
|
2.17.0
|
2018-02-02 13:35:59 +00:00
|
|
|
|