summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-02-24 17:14:58 -0400
committerJoey Hess <joey@kitenet.net>2013-02-24 17:14:58 -0400
commit28bf03d222bd5c7b5e3e68db42b29d81ea7ae681 (patch)
tree6f3b2ea7979b098a6b50785840e938ce7cf13014 /Debian
parente9fe3cee83cdcc4df978fb1761009dfc124add92 (diff)
cmake: Configure with -DCMAKE_BUILD_TYPE=RelWithDebInfo Closes: #701233
I'm told this only avoids building with -O3 -DNDEBUG, a change which should have no potential for breaking anything.
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Buildsystem/cmake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index 1d009b4..d47821c 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -43,6 +43,7 @@ sub configure {
# Standard set of cmake flags
push @flags, "-DCMAKE_INSTALL_PREFIX=/usr";
push @flags, "-DCMAKE_VERBOSE_MAKEFILE=ON";
+ push @flags, "-DCMAKE_BUILD_TYPE=RelWithDebInfo";
# CMake doesn't respect CPPFLAGS, see #653916.
if ($ENV{CPPFLAGS} && ! compat(8)) {