commit: ef9830a7046cc3468b5f065cb0b65392ee8e9667 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jun 20 19:00:10 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jun 23 18:30:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9830a7
llvm.org.eclass: Declare CMAKE_BUILD_TYPE Deduplicate CMAKE_BUILD_TYPE from most of the LLVM ebuilds to the eclass. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/llvm.org.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index 9fc975cd51c..29606a63b5a 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -167,6 +167,11 @@ llvm.org_set_globals() { fi fi + # === useful defaults for cmake-based packages === + + # least intrusive of all + CMAKE_BUILD_TYPE=RelWithDebInfo + _LLVM_ORG_SET_GLOBALS_CALLED=1 }