meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
Khem Raj ebcec4a3b4
python3-lief: Disable ccache
* ccache with OE does not work always

* Use RelWithDebInfo instead of Debug build type in cmake
  Some modules are built in /tmp and if /tmp is small < 2GB
  the build may run out of space especially with huge debug info files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-05 13:56:33 -08:00

31 lines
796 B
Diff

From 064f361f113e1e4496f40dd0a075f89d21bad5a3 Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Tue, 28 Jan 2025 12:25:31 +0000
Subject: [PATCH] api/python/config-default.toml: Debug
Fixes do_package: QA Issue: [already-stripped]
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
api/python/config-default.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/api/python/config-default.toml
+++ b/api/python/config-default.toml
@@ -1,8 +1,11 @@
[lief.build]
-type = "Release"
-cache = true
+type = "RelWithDebInfo"
+cache = false
ninja = true
parallel-jobs = 0
+extra-cmake-opt = [
+ "-DCMAKE_MODULE_PATH=/cmake/linux/",
+]
[lief.formats]
elf = true