feat(安全漏洞): 安全加固
Description: 修改编译参数,安全加固 Log: 修复安全测试,漏洞编号:UT-2021-0267 Change-Id: Icea14f2c03195a480c233c287bcb37e70026773e
This commit is contained in:
parent
d30725ce0d
commit
8ad4fa0fd1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user