From c5f15263cb5934dde6af72544a7aaeb0a22bdb3b Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Sat, 9 Jan 2016 04:23:52 +0100 Subject: dev-libs/injeqt: Preserve CXX flags, fixes bug 570954. Package-Manager: portage-2.2.26 --- dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch (limited to 'dev-libs/injeqt/files') diff --git a/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch b/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch new file mode 100644 index 000000000000..7428c5c673fc --- /dev/null +++ b/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch @@ -0,0 +1,12 @@ +diff -ruN injeqt-1.0.0/CMakeLists.txt injeqt-my/CMakeLists.txt +--- injeqt-1.0.0/CMakeLists.txt 2015-01-25 00:09:26.000000000 +0100 ++++ injeqt-my/CMakeLists.txt 2016-01-09 04:01:39.162295444 +0100 +@@ -39,7 +39,7 @@ + + set (WARNINGS "-Werror -W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common") + set (VISIBILITY "-fvisibility=hidden -fvisibility-inlines-hidden") +-set (CMAKE_CXX_FLAGS "-std=c++11 ${WARNINGS} ${VISIBILITY}") ++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${WARNINGS} ${VISIBILITY}") + + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + set (CMAKE_CXX_FLAGS "-O0 ${CMAKE_CXX_FLAGS}") -- cgit v1.2.3-65-gdbad