[med-svn] [express] 03/06: Add patch to disable forced flags and static linking of BOOST

Gert Wollny gert-guest at moszumanska.debian.org
Tue Jul 26 19:23:17 UTC 2016


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

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

commit 48486e6ea98bbfe1fdcc4814856780571d34fdb8
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Tue Jul 26 18:38:41 2016 +0000

    Add patch to disable forced flags and static linking of BOOST
---
 debian/patches/correct-debug-flags.patch | 20 ++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/correct-debug-flags.patch b/debian/patches/correct-debug-flags.patch
new file mode 100644
index 0000000..e6b2cef
--- /dev/null
+++ b/debian/patches/correct-debug-flags.patch
@@ -0,0 +1,20 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -8,12 +8,12 @@
+ 
+ set(CMAKE_CXX_FLAGS "-Wall")
+ 
+-set(CMAKE_CXX_FLAGS_DEBUG "-g ${CMAKE_CXX_FLAGS}")
+-set(CMAKE_CXX_FLAGS_RHDEBINFO "-O3 -g ${CMAKE_CXX_FLAGS}")
+-set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os ${CMAKE_CXX_FLAGS}")
++#set(CMAKE_CXX_FLAGS_DEBUG "-g ${CMAKE_CXX_FLAGS}")
++#set(CMAKE_CXX_FLAGS_RHDEBINFO "-O3 -g ${CMAKE_CXX_FLAGS}")
++#set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os ${CMAKE_CXX_FLAGS}")
+ 
+-set(CMAKE_BUILD_TYPE Release)
+-set(Boost_USE_STATIC_LIBS ON)
++#set(CMAKE_BUILD_TYPE Release)
++set(Boost_USE_STATIC_LIBS OFF)
+ 
+ find_package(Boost 1.39
+     COMPONENTS
diff --git a/debian/patches/series b/debian/patches/series
index 6dde7f2..2bdfebd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ spelling-fixes
 fix-bamtools-path
 drop-zlib
 gcc-6.patch
+correct-debug-flags.patch

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



More information about the debian-med-commit mailing list