Deduplicate CMAKE_BUILD_TYPE from most of the LLVM ebuilds
to the eclass.

Signed-off-by: Michał Górny <[email protected]>
---
 eclass/llvm.org.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass
index 9fc975cd51cb..29606a63b5a0 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
 }
 
-- 
2.27.0


Reply via email to