summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2020-04-02 00:06:55 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2020-04-02 00:06:55 +0000
commit708480854dbe77919718368c58993b7413b39721 (patch)
tree19e8997e45afadd9d4e0e55679dfbe9bba368931
parent2020-04-01 23:37:46 UTC (diff)
parentcmake.eclass: do not append -DNDEBUG to CPPFLAGS (diff)
downloadgentoo-708480854dbe77919718368c58993b7413b39721.tar.gz
gentoo-708480854dbe77919718368c58993b7413b39721.tar.bz2
gentoo-708480854dbe77919718368c58993b7413b39721.zip
Merge updates from master
-rw-r--r--eclass/cmake.eclass9
1 files changed, 0 insertions, 9 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 160f40b1cf8e..3da3b9aeb555 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -371,15 +371,6 @@ cmake_src_configure() {
# Fix xdg collision with sandbox
xdg_environment_reset
- # @SEE CMAKE_BUILD_TYPE
- if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
- # Handle release builds
- if ! in_iuse debug || ! use debug; then
- local CPPFLAGS=${CPPFLAGS}
- append-cppflags -DNDEBUG
- fi
- fi
-
# Prepare Gentoo override rules (set valid compiler, append CPPFLAGS etc.)
local build_rules=${BUILD_DIR}/gentoo_rules.cmake