[med-svn] [libbpp-core] 01/03: d/p/unforce..: Do not force CXX flags in the CMake file

Gert Wollny gert-guest at moszumanska.debian.org
Wed Jun 29 15:50:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository libbpp-core.

commit d3295350d13b6037d3236221afd158af789e6a71
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Wed Jun 29 15:12:14 2016 +0000

    d/p/unforce..: Do not force CXX flags in the CMake file
    
    These fiorced flags might override the ones imported from the environment.
---
 debian/patches/series                 |  1 +
 debian/patches/unforce-cxxflags.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 76d6364..7f5031a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 gcc-6.patch
+unforce-cxxflags.patch
diff --git a/debian/patches/unforce-cxxflags.patch b/debian/patches/unforce-cxxflags.patch
new file mode 100644
index 0000000..8533269
--- /dev/null
+++ b/debian/patches/unforce-cxxflags.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -11,7 +11,7 @@
+       FORCE)
+ ENDIF(NOT CMAKE_BUILD_TYPE)
+ 
+-SET(CMAKE_CXX_FLAGS "-Wall -Weffc++ -Wshadow -Wconversion")
++#SET(CMAKE_CXX_FLAGS "-Wall -Weffc++ -Wshadow -Wconversion")
+ IF(NOT NO_VIRTUAL_COV)
+   SET(NO_VIRTUAL_COV FALSE CACHE BOOL
+       "Disable covariant return type with virtual inheritance, for compilers that do not support it."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libbpp-core.git



More information about the debian-med-commit mailing list