ecm.eclass: Drop references to -DNDEBUG of cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 31 Mar 2020 11:30:02 +0000 (13:30 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 15 Apr 2020 23:02:40 +0000 (01:02 +0200)
Flag has been removed from there.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
(cherry picked from commit 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1)

eclass/ecm.eclass

index dbb8cc7a814017501c7c34e18c5d9c3564a43778..12b31e4ef327501f5df6a523f95f09260c16759e 100644 (file)
@@ -74,8 +74,8 @@ EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_test pkg_preinst pkg_po
 
 # @ECLASS-VARIABLE: ECM_DEBUG
 # @DESCRIPTION:
-# Add "debug" to IUSE. If !debug, add -DNDEBUG (via cmake_src_configure)
-# and -DQT_NO_DEBUG to CPPFLAGS. If set to "false", do nothing.
+# Add "debug" to IUSE. If !debug, add -DQT_NO_DEBUG to CPPFLAGS. If set to
+# "false", do nothing.
 : ${ECM_DEBUG:=true}
 
 # @ECLASS-VARIABLE: ECM_DESIGNERPLUGIN
@@ -476,7 +476,6 @@ ecm_src_prepare() {
 ecm_src_configure() {
        debug-print-function ${FUNCNAME} "$@"
 
-       # we rely on cmake.eclass to append -DNDEBUG too
        if in_iuse debug && ! use debug; then
                append-cppflags -DQT_NO_DEBUG
        fi