1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-12 16:19:48 +03:00
pmaports/main/dtbtool-exynos/0002-Makefile-do-not-strip-the-produced-binary.patch
Henrik Grimler 481e494cdc
main/dtbtool-exynos: fix unreliable behaviour
Hopefully these can be merged in the repo we track, but let's add them
to pmaports in the meanwhile.

Fixes issue where allocated, but non-set memory is used, which gives
unpredictable behaviour.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6746
[ci:skip-build]: already built successfully in CI
2025-07-11 22:03:33 +02:00

26 lines
652 B
Diff

From 0143ed5c784df0baf69f1aee6a3ba0fb45457de6 Mon Sep 17 00:00:00 2001
From: Henrik Grimler <henrik@grimler.se>
Date: Thu, 3 Jul 2025 18:58:22 +0200
Subject: [PATCH] Makefile: do not strip the produced binary
Typically distro packagers will handle this. For local builds it might
be benefical to still have the debug symbols.
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9f2a841ba7c8..55c726bb232f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,6 @@ all: dtbTool-exynos
dtbTool-exynos: $(OBJ_FILES)
$(CC) $(CFLAGS) -o $@ $^ -lfdt
- strip $@
clean:
rm -f dtbTool-exynos $(OBJ_FILES)
--
2.50.0