1 |
commit: 1f4a58b2d53b1ae8d006be6fb53a491c5167a7c1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 31 11:30:02 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 2 00:47:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1f4a58b2 |
7 |
|
8 |
ecm.eclass: Drop references to -DNDEBUG of cmake.eclass |
9 |
|
10 |
Flag has been removed from there. |
11 |
|
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
eclass/ecm.eclass | 5 ++--- |
15 |
1 file changed, 2 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass |
18 |
index dbb8cc7a81..12b31e4ef3 100644 |
19 |
--- a/eclass/ecm.eclass |
20 |
+++ b/eclass/ecm.eclass |
21 |
@@ -74,8 +74,8 @@ EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_test pkg_preinst pkg_po |
22 |
|
23 |
# @ECLASS-VARIABLE: ECM_DEBUG |
24 |
# @DESCRIPTION: |
25 |
-# Add "debug" to IUSE. If !debug, add -DNDEBUG (via cmake_src_configure) |
26 |
-# and -DQT_NO_DEBUG to CPPFLAGS. If set to "false", do nothing. |
27 |
+# Add "debug" to IUSE. If !debug, add -DQT_NO_DEBUG to CPPFLAGS. If set to |
28 |
+# "false", do nothing. |
29 |
: ${ECM_DEBUG:=true} |
30 |
|
31 |
# @ECLASS-VARIABLE: ECM_DESIGNERPLUGIN |
32 |
@@ -476,7 +476,6 @@ ecm_src_prepare() { |
33 |
ecm_src_configure() { |
34 |
debug-print-function ${FUNCNAME} "$@" |
35 |
|
36 |
- # we rely on cmake.eclass to append -DNDEBUG too |
37 |
if in_iuse debug && ! use debug; then |
38 |
append-cppflags -DQT_NO_DEBUG |
39 |
fi |