nheko/nheko-drop-flags.patch
2018-05-25 15:57:33 +02:00

30 lines
910 B
Diff

From f9d3f0c222d6c7968479394dfbd6eb8dbc49092c Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Tue, 12 Dec 2017 15:25:45 +0100
Subject: [PATCH 1/2] Completely remove additional CXXFLAGS.
---
cmake/CompilerFlags.cmake | 8 --------
1 file changed, 8 deletions(-)
diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake
index f5860a9..d27e009 100644
--- a/cmake/CompilerFlags.cmake
+++ b/cmake/CompilerFlags.cmake
@@ -1,12 +1,4 @@
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 \
- -Wno-unused-function \
- -pedantic \
- -Wunreachable-code")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
--
2.17.0