From 28bf03d222bd5c7b5e3e68db42b29d81ea7ae681 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 24 Feb 2013 17:14:58 -0400 Subject: 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. --- Debian/Debhelper/Buildsystem/cmake.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Debian') diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm index 1d009b44..d47821ca 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)) { -- cgit v1.2.3