summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}