From 8ad4fa0fd1aacd2a6832526a8a63615b7f08db4c Mon Sep 17 00:00:00 2001 From: ut000593 Date: Fri, 26 Nov 2021 10:16:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AE=89=E5=85=A8=E6=BC=8F=E6=B4=9E):=20?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E5=8A=A0=E5=9B=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 修改编译参数,安全加固 Log: 修复安全测试,漏洞编号:UT-2021-0267 Change-Id: Icea14f2c03195a480c233c287bcb37e70026773e --- deepin-ocr.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/deepin-ocr.pro b/deepin-ocr.pro index 556b2d0..a65acd7 100644 --- a/deepin-ocr.pro +++ b/deepin-ocr.pro @@ -12,6 +12,7 @@ INCLUDEPATH += . # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS +QMAKE_LFLAGS += -Wl,--as-needed -pie -z noexecstack -fstack-protector-all -z now # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line.