From df77f8fe42863b64937db587685e800292975316 Mon Sep 17 00:00:00 2001 From: wangrong Date: Wed, 26 Nov 2025 16:40:21 +0800 Subject: [PATCH] chore: Update compiler flags for security enhancements As title Log: Update compiler flags for security enhancements Bug: https://pms.uniontech.com/bug-view-337059.html --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index bd468d5..9ba761f 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,7 @@ export QT_SELECT=5 include /usr/share/dpkg/default.mk DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +export DEB_LDFLAGS_APPEND = -Wl,-z,now %: dh $@ --parallel