diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-31 13:30:02 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-16 01:02:40 +0200 |
commit | 31a0cf58e6b27bda4b5ef25c289e7379e938f070 (patch) | |
tree | 849f4cc19f505755bb285c2845cd3f3d7af3fe47 /eclass | |
parent | ecm.eclass: Drop kde5.eclass support (diff) | |
download | gentoo-31a0cf58e6b27bda4b5ef25c289e7379e938f070.tar.gz gentoo-31a0cf58e6b27bda4b5ef25c289e7379e938f070.tar.bz2 gentoo-31a0cf58e6b27bda4b5ef25c289e7379e938f070.zip |
ecm.eclass: Drop references to -DNDEBUG of cmake.eclass
Flag has been removed from there.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
(cherry picked from commit 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ecm.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index dbb8cc7a8140..12b31e4ef327 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -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 |