You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2026/06/22 19:17:42 UTC
(openoffice) branch AOO41X updated: Fix issues with SELinux (#483)
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new 3e7e88da55 Fix issues with SELinux (#483)
3e7e88da55 is described below
commit 3e7e88da551a0263f8ccb9c990b61cd1e5829c2f
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Mon Jun 22 21:17:36 2026 +0200
Fix issues with SELinux (#483)
Ensure that raptor is built with noexecstack on FreeBSD as well as Linux
---
main/redland/raptor/makefile.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/main/redland/raptor/makefile.mk b/main/redland/raptor/makefile.mk
index 5291695202..1aaea70698 100644
--- a/main/redland/raptor/makefile.mk
+++ b/main/redland/raptor/makefile.mk
@@ -101,6 +101,10 @@ LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec
LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'
.ENDIF # "$(OS)$(COM)"=="SOLARISC52"
+.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+LDFLAGS+:=-Wl,-z,noexecstack
+.ENDIF # "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"
+
.IF "$(COM)"=="C52" && "$(CPU)"=="U"
CFLAGS=-m64
.EXPORT: CFLAGS