From 586e1ec7c680ed2504afe49de8085a011ff45270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6k=C3=A7en=20Eraslan?= Date: Mon, 21 Dec 2009 14:02:11 +0000 Subject: [PATCH] Change CMAKE_BUILD_TYPE to RelWithDebInfo, this also adds -DNDEBUG and -DQT_NO_DEBUG in KDE packages. I'll also add QT_NO_DEBUG to Qt package. --- pisi/actionsapi/cmaketools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/actionsapi/cmaketools.py b/pisi/actionsapi/cmaketools.py index 3efec0a0..4f2533e9 100644 --- a/pisi/actionsapi/cmaketools.py +++ b/pisi/actionsapi/cmaketools.py @@ -60,7 +60,7 @@ def configure(parameters = '', installPrefix = '/%s' % get.defaultprefixDIR(), s -DCMAKE_C_FLAGS="%s" \ -DCMAKE_CXX_FLAGS="%s" \ -DCMAKE_LD_FLAGS="%s" \ - -DCMAKE_BUILD_TYPE=None %s %s' % (installPrefix, get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS(), parameters, sourceDir) + -DCMAKE_BUILD_TYPE=RelWithDebInfo %s %s' % (installPrefix, get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS(), parameters, sourceDir) if system(args): raise ConfigureError(_('Configure failed.'))