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.