mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
do not use -fstack-protector on Windows
This commit is contained in:
parent
fca0e799c2
commit
533c82ce92
@ -54,9 +54,12 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) {
|
|||||||
QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs
|
QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs
|
||||||
}
|
}
|
||||||
|
|
||||||
# for extra security against potential buffer overflows
|
!windows {
|
||||||
QMAKE_CXXFLAGS += -fstack-protector
|
# for extra security against potential buffer overflows
|
||||||
QMAKE_LFLAGS += -fstack-protector
|
QMAKE_CXXFLAGS += -fstack-protector
|
||||||
|
QMAKE_LFLAGS += -fstack-protector
|
||||||
|
# do not enable this on windows, as it will result in a non-working executable!
|
||||||
|
}
|
||||||
|
|
||||||
# disable quite some warnings because bitcoin core "sins" a lot
|
# disable quite some warnings because bitcoin core "sins" a lot
|
||||||
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
|
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
|
||||||
|
Loading…
Reference in New Issue
Block a user