diff options
Diffstat (limited to 'eclass/kde-frameworks.eclass')
| -rw-r--r-- | eclass/kde-frameworks.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/kde-frameworks.eclass b/eclass/kde-frameworks.eclass index 16ad96d51f6..a820fe2e5ac 100644 --- a/eclass/kde-frameworks.eclass +++ b/eclass/kde-frameworks.eclass @@ -58,6 +58,7 @@ HOMEPAGE="http://www.kde.org/" LICENSE="GPL-2" SLOT=5 +IUSE+=" debug" COMMONDEPEND+=" >=dev-qt/qtcore-${QT_MINIMAL}:5 @@ -191,9 +192,7 @@ kde4-base_src_prepare() { kde-frameworks_src_configure() { debug-print-function ${FUNCNAME} "$@" - # having the use flag is only useful in a few packages - # it should not be used indiscriminately as with KDE 4 - # todo: look at KDE_NO_DEBUG too + # we rely on cmake-utils.eclass to append -DNDEBUG too if ! use_if_iuse debug; then append-cppflags -DQT_NO_DEBUG fi |
