mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-11 05:14:34 +00:00
build: disable _FORTIFY_SOURCE when building without optimization
This commit is contained in:
parent
cee56a7d23
commit
5872bc8a2b
1 changed files with 4 additions and 2 deletions
|
@ -176,8 +176,10 @@ android {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Werror -Wformat -Wformat-security
|
QMAKE_CXXFLAGS += -Werror -Wformat -Wformat-security
|
||||||
QMAKE_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Werror -Wformat -Wformat-security
|
QMAKE_CFLAGS += -Werror -Wformat -Wformat-security
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2
|
||||||
|
QMAKE_CFLAGS_RELEASE += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2
|
||||||
|
|
||||||
ios {
|
ios {
|
||||||
message("Host is IOS")
|
message("Host is IOS")
|
||||||
|
|
Loading…
Reference in a new issue