Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2018-01-14 16:39:29 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-01-14 16:39:29 +0300
commit7839c4d4e1192a14165fef546b074e78acbc61d1 (patch)
treeb67c01321b7a6aa59f2857d8f9d32aab74a9d7f5 /src/CMakeLists.txt
parent969d90d15ba2c45b5b6d4832ac7ee25734501684 (diff)
Revert "Disable stack protection for mingw win32 builds in 2.4"
This reverts commit 298f1ab57000afd7acb8c0ddbddca8a1fc6cd92a. We're shipping libssp-0.dll now with mingw builds. We would have enough time to test this for 2.5.0 now anyway, but we also will most likely switch to MSVC for that release.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e20358c18..ac60b1b66 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,7 +13,7 @@ if(NOT TOKEN_AUTH_ONLY)
find_package(Qt5Keychain REQUIRED)
endif()
-if(NOT WIN32)
+if(NOT MSVC)
if(NOT (CMAKE_SYSTEM_PROCESSOR MATCHES "^(alpha|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")