From 728c602bc384c30de15a4fcd78db33e95aa46c28 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 18 Jul 2018 10:41:11 +0200 Subject: [PATCH] Fixed: Compilation under Ubuntu 16.04 --HG-- branch : develop --- code/CMakeModules/nel.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 99d958771..3919419be 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -672,7 +672,7 @@ MACRO(NL_SETUP_BUILD) IF(APPLE) SET(OBJC_FLAGS -fobjc-abi-version=2 -fobjc-legacy-dispatch -fobjc-weak) - + IF(NOT XCODE) IF(CMAKE_OSX_ARCHITECTURES) SET(TARGETS_COUNT 0) @@ -959,8 +959,6 @@ MACRO(NL_SETUP_BUILD) ADD_PLATFORM_FLAGS("-fPIC") ENDIF() - SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -ftemplate-depth-48") - # hardening ADD_PLATFORM_FLAGS("-fstack-protector --param=ssp-buffer-size=4")