fix: 内存安全加固

This commit is contained in:
2023-02-12 23:56:25 +08:00
parent da03261cbb
commit 4f2c5f1bdc
6 changed files with 113 additions and 103 deletions

View File

@@ -66,3 +66,9 @@ INSTALLS += \
bash_completion \
polkit-1
# 暂时不添加
# https://wiki.debian.org/Hardening
QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS)
QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS)