diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-24 17:14:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-24 17:14:58 -0400 |
commit | 28bf03d222bd5c7b5e3e68db42b29d81ea7ae681 (patch) | |
tree | 6f3b2ea7979b098a6b50785840e938ce7cf13014 /Debian/Debhelper/Buildsystem | |
parent | e9fe3cee83cdcc4df978fb1761009dfc124add92 (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/Debhelper/Buildsystem')
-rw-r--r-- | Debian/Debhelper/Buildsystem/cmake.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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)) { |