mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(build): use hardening linker flags only on Linux/*BSD
windows & osx fail to compile with them.
This commit is contained in:
parent
9c3256386d
commit
0a1a781249
4
qtox.pro
4
qtox.pro
|
@ -53,8 +53,8 @@ QMAKE_CXXFLAGS += -fstack-protector-all \
|
|||
-Wstrict-overflow \
|
||||
-Wstrict-aliasing \
|
||||
--param ssp-buffer-size=1
|
||||
# osx cannot into security (build on it fails with those enabled)
|
||||
!macx {
|
||||
# osx & windows cannot into security (build on it fails with those enabled)
|
||||
unix:!macx {
|
||||
QMAKE_LFLAGS += -Wl,-z,now -Wl,-z,relro
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user