Fixed: Compilation under Ubuntu 16.04

--HG--
branch : develop
hg/compatibility-develop
kervala 6 years ago
parent 7b23be0c46
commit 728c602bc3

@ -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")

Loading…
Cancel
Save