nheko/nheko-drop-flags.patch
2018-05-24 14:31:38 +02:00

30 lines
910 B
Diff

From 9f02a742a0a581a10e8d71c3595fda3831e5eff5 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