aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monero-wallet-gui.pro10
1 files changed, 6 insertions, 4 deletions
diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro
index 16c6784d..a11bb11b 100644
--- a/monero-wallet-gui.pro
+++ b/monero-wallet-gui.pro
@@ -13,8 +13,10 @@ CONFIG += c++11 link_pkgconfig
packagesExist(libpcsclite) {
PKGCONFIG += libpcsclite
}
-QMAKE_CXXFLAGS += -fPIC -fstack-protector
-QMAKE_LFLAGS += -fstack-protector
+!win32 {
+ QMAKE_CXXFLAGS += -fPIC -fstack-protector -fstack-protector-strong
+ QMAKE_LFLAGS += -fstack-protector -fstack-protector-strong
+}
# cleaning "auto-generated" bitmonero directory on "make distclean"
QMAKE_DISTCLEAN += -r $$WALLET_ROOT
@@ -130,8 +132,8 @@ android {
-QMAKE_CXXFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security -fstack-protector -fstack-protector-strong
-QMAKE_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security -fstack-protector -fstack-protector-strong
+QMAKE_CXXFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security
+QMAKE_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security
ios {
message("Host is IOS")