diff options
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/cmake-utils.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 803e13ff9fe..d6b380bfccf 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -450,6 +450,7 @@ enable_cmake-utils_src_configure() { if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then # Handle release builds if ! has debug ${IUSE//+} || ! use debug; then + local CPPFLAGS=${CPPFLAGS} append-cppflags -DNDEBUG fi fi |
