[SCM] Packaging of KVIrc branch, experimental, updated. debian/4%4.2.0-3-11-gb7a0d5d
Andrey Rahmatullin
wrar at moszumanska.debian.org
Thu Aug 17 19:08:42 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kvirc.git;a=commitdiff;h=b7a0d5d
The following commit has been merged in the experimental branch:
commit b7a0d5db021da6e4ed0cf9890c58ea87d12458bb
Author: Andrey Rahmatullin <wrar at debian.org>
Date: Fri Aug 18 00:08:04 2017 +0500
Remove -O0 from debug CFLAGS/CXXFLAGS.
---
debian/patches/enable-optimisation-with-debug.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/enable-optimisation-with-debug.patch b/debian/patches/enable-optimisation-with-debug.patch
new file mode 100644
index 0000000..53e8ef5
--- /dev/null
+++ b/debian/patches/enable-optimisation-with-debug.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 96659b5..0b0c2b8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -220,8 +220,8 @@ else()
+ # CMAKE_CXX_FLAGS_DEBUG before finalizing. This results in the
+ # default DEBUG flag of '-g' being appended, and therefore
+ # overriding what you specify here
+- set(CMAKE_CXX_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
+- set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
++ set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
++ set(CMAKE_C_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
+ include(CheckCXXCompilerFlag)
+ CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" CXX_HAS_VH_FLAG)
+ CHECK_CXX_COMPILER_FLAG("-fvisibility-inlines-hidden" CXX_HAS_VIH_FLAG)
diff --git a/debian/patches/series b/debian/patches/series
index 2a1746a..ff85fe5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
10_fix_desktop_entry.patch
#21_make_shared-mime-info_B-D_superfluous.patch
#22_use_old_.protocol_file_names.patch
+enable-optimisation-with-debug.patch
--
Packaging of KVIrc
More information about the pkg-kde-commits
mailing list