Merge pull request #1150

a44d15a get_libwallet_api.sh: fix debug/release hardcoded path
8b97eed monero-wallet-gui.pro: use hardening flags
986275c get_libwallet_api.sh: fix comment referencing the wrong library
f45b0a7 main: do not crash if we can't load some stuff
This commit is contained in:
luigi1111
2018-03-06 12:29:48 -05:00
3 changed files with 24 additions and 8 deletions

View File

@@ -116,6 +116,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
ios {
message("Host is IOS")
@@ -236,6 +238,7 @@ win32 {
message("Target is 64bit")
}
QMAKE_LFLAGS += -Wl,--dynamicbase -Wl,--nxcompat
}
linux {
@@ -276,6 +279,8 @@ linux {
message(Building with libunwind)
LIBS += -Wl,-Bdynamic -lunwind
}
QMAKE_LFLAGS += -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack
}
macx {
@@ -300,6 +305,7 @@ macx {
-lcrypto \
-ldl
QMAKE_LFLAGS += -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack
}