diff options
Diffstat (limited to 'dev-util/cvise/files/cvise-2.5.0-no-werror-cflags.patch')
-rw-r--r-- | dev-util/cvise/files/cvise-2.5.0-no-werror-cflags.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-util/cvise/files/cvise-2.5.0-no-werror-cflags.patch b/dev-util/cvise/files/cvise-2.5.0-no-werror-cflags.patch deleted file mode 100644 index b00b524cb2a4..000000000000 --- a/dev-util/cvise/files/cvise-2.5.0-no-werror-cflags.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://bugs.gentoo.org/867424 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -146,13 +146,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" - OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM. That's how we - # get those options in the Automake path... -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-error=maybe-uninitialized") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-error=maybe-uninitialized") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-error=maybe-uninitialized") - if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") - endif() -- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") -- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3") -+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") -+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE}") - endif() - - ############################################################################### -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 261a0fb..cbaebc3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -151,8 +151,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" - if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") - endif() -- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") -- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE}") - endif() - - ############################################################################### |