Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Copyright: UnionTech Software Technology Co., Ltd.
License: CC0-1.0

# eliminate files in src/tools
Files: src/tools/exportPot src/tools/importPo src/tools/importPo.bat
Files: src/tools/exportPot src/tools/exportPot.bat src/tools/importPo src/tools/importPo.bat
Copyright: UnionTech Software Technology Co., Ltd.
License: CC0-1.0

Expand Down
4 changes: 2 additions & 2 deletions src/app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ TEMPLATE = app
TARGET = deepin-boot-maker
#添加安全编译参数
QMAKE_LFLAGS += -z noexecstack -pie -z relro -z now
QMAKE_CFLAGS += -fstack-protector-all -fPIE
QMAKE_CXXFLAGS += -fstack-protector-all -fPIE
QMAKE_CFLAGS += -fstack-protector-all -fPIE -D_FORTIFY_SOURCE=2
QMAKE_CXXFLAGS += -fstack-protector-all -fPIE -D_FORTIFY_SOURCE=2

## 添加内存泄露检测
#CONFIG(debug, debug|release) {
Expand Down
4 changes: 2 additions & 2 deletions src/service/service.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ CONFIG -= app_bundle

#添加安全编译参数
QMAKE_LFLAGS += -z noexecstack -pie -z relro -z now
QMAKE_CFLAGS += -fstack-protector-all -fPIE
QMAKE_CXXFLAGS += -fstack-protector-all -fPIE
QMAKE_CFLAGS += -fstack-protector-all -fPIE -D_FORTIFY_SOURCE=2
QMAKE_CXXFLAGS += -fstack-protector-all -fPIE -D_FORTIFY_SOURCE=2


TEMPLATE = app
Expand Down
4 changes: 2 additions & 2 deletions src/tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ CONFIG(debug, debug|release) {

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


QT += core gui widgets testlib
Expand Down