summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-20 21:00:10 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-23 20:30:37 +0200
commitef9830a7046cc3468b5f065cb0b65392ee8e9667 (patch)
treebb523da4ce2161c7538494bf2209eac68e0c8862 /eclass/llvm.org.eclass
parentllvm.org.eclass: Introduce llvm-project patch-friendly src_prepare (diff)
downloadgentoo-ef9830a7046cc3468b5f065cb0b65392ee8e9667.tar.gz
gentoo-ef9830a7046cc3468b5f065cb0b65392ee8e9667.tar.bz2
gentoo-ef9830a7046cc3468b5f065cb0b65392ee8e9667.zip
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@gentoo.org>
Diffstat (limited to 'eclass/llvm.org.eclass')
-rw-r--r--eclass/llvm.org.eclass5
1 files changed, 5 insertions, 0 deletions
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
}