diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2013-09-17 04:15:00 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2013-09-17 04:15:00 +1000 |
| commit | 6c8bf45285489aa6a753b505f1da5d3bdb69c94a (patch) | |
| tree | 689002c879886b62fd0ead4487944e49b2f60a4c /eclass/kde-frameworks.eclass | |
| parent | f3a9865a200df5d0e1b6c70d183976ed9a75e32e (diff) | |
| download | kde-6c8bf45285489aa6a753b505f1da5d3bdb69c94a.tar.gz kde-6c8bf45285489aa6a753b505f1da5d3bdb69c94a.tar.bz2 kde-6c8bf45285489aa6a753b505f1da5d3bdb69c94a.zip | |
[eclass] Debug code is more widespread than I initially thought, so introduce the USE flag for all consumers.
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 |
