mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 13:55:47 +03:00
Disable stack protection for mingw win32 builds in 2.4
Mingw builds could have it enabled! But we need to ship libssp and test this more. For the upcoming 2.4 release it should be disabled.
This commit is contained in:
parent
79dd8e9074
commit
298f1ab570
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ if(NOT TOKEN_AUTH_ONLY)
|
|||
find_package(Qt5Keychain REQUIRED)
|
||||
endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
if(NOT WIN32)
|
||||
if(NOT (CMAKE_SYSTEM_PROCESSOR MATCHES "^(parisc|hppa)"))
|
||||
if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9))
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector --param=ssp-buffer-size=4")
|
||||
|
|
Loading…
Reference in a new issue