Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ CONFIG(debug, debug|release) {
}

#添加安全编译参数
QMAKE_LFLAGS += -z noexecstack -pie -fPIC -z relro -z now
QMAKE_CFLAGS += -fstack-protector-all
QMAKE_CXXFLAGS += -fstack-protector-all -fno-access-control
QMAKE_LFLAGS += -z noexecstack -pie -z relro -z now
QMAKE_CFLAGS += -fstack-protector-all -fPIC
QMAKE_CXXFLAGS += -fstack-protector-all -fno-access-control -fPIC


QT += core gui widgets testlib
Expand Down
Loading