diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-08-13 05:05:40 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-08-13 05:05:40 +0000 |
commit | d5be93cf0301fbf38160a807f2604c97d4cff556 (patch) | |
tree | 3d5176da1ea0729d8f2c58819d92bcf6974e2cb0 /eclass/kde4-base.eclass | |
parent | Revert - breaks a lot of kde packages (sighs) (diff) | |
download | historical-d5be93cf0301fbf38160a807f2604c97d4cff556.tar.gz historical-d5be93cf0301fbf38160a807f2604c97d4cff556.tar.bz2 historical-d5be93cf0301fbf38160a807f2604c97d4cff556.zip |
Revert - breaks kdelibs API (sic!)
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 9dcaed869ca5..640c8a2e9094 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.67 2010/08/12 19:32:23 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.68 2010/08/13 05:05:40 reavertm Exp $ # @ECLASS: kde4-base.eclass # @MAINTAINER: @@ -645,13 +645,12 @@ kde4-base_src_configure() { cmakeargs+=(-DKDE4_ENABLE_FINAL=ON) fi - if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then - # Handle debug and release codepaths - if has debug ${IUSE//+} && use debug; then - append-cppflags -DDEBUG - else - append-cppflags -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM - fi + if has debug ${IUSE//+} && use debug; then + # Set "real" debug mode + CMAKE_BUILD_TYPE="Debugfull" + else + # Handle common release builds + append-cppflags -DQT_NO_DEBUG fi # Set distribution name |