Does this patch fix Appimage startup in glibc 2.41 Arch ?

For testing apply patch, build cingg appimage on usual system, try to load
on Arch ?

ref:
https://www.cinelerra-gg.org/bugtracker/view.php?id=670#c5765
From 3b75e9a8bf877f7fbe8d78e23105c61fa10c9272 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Wed, 26 Feb 2025 21:38:19 +0300
Subject: [PATCH] Add -Wl,-z,noexecstack to plugin_config (may fix appimage on
 Arch ?)

---
 cinelerra-5.1/plugin_config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/plugin_config b/cinelerra-5.1/plugin_config
index 56f43511..74ac9cc3 100644
--- a/cinelerra-5.1/plugin_config
+++ b/cinelerra-5.1/plugin_config
@@ -4,6 +4,7 @@ CFLAGS += -I../ -I$(CINELERRA) -I$(GUICAST) -I../colors -fPIC
 CFLAGS += $(static_incs)
 LFLAGS += $(static_libs)
 LFLAGS += $(LDFLAGS)
+LDFLAGS += -Wl,-z,noexecstack
 LDLINKER ?= $(CXX) -shared
 $(shell mkdir -p $(OBJDIR))
 
-- 
2.48.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to