nheko/nheko-drop-flags.patch

31 lines
921 B
Diff
Raw Normal View History

2018-03-05 10:26:26 +00:00
From 52f116af8325656a013688f98d84f54cb0dac817 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
---
CMakeLists.txt | 7 -------
1 file changed, 7 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
2018-03-05 10:26:26 +00:00
index 3f0c44e..611a59a 100644
2018-02-02 13:35:59 +00:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2018-03-05 10:26:26 +00:00
@@ -110,13 +110,6 @@ set(PROJECT_VERSION ${CPACK_PACKAGE_VERSION})
2018-02-02 13:35:59 +00:00
message(STATUS "Version: ${PROJECT_VERSION}")
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 \
- -pedantic \
- -Wunreachable-code")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
--
2.14.3