From 8379eefafbaed059c210c6ba429e48bcae4cf2ab Mon Sep 17 00:00:00 2001 From: Omar Emara Date: Mon, 1 Nov 2021 11:38:03 +0200 Subject: Cycles: Enable debug symbols for Clang Debug symbols were disabled for Clang at some point due to link issues. This is no longer the case for any reasonably modern version of Clang. So this patch removes the check in question. Differential Revision: https://developer.blender.org/D13045 Reviewed By: brecht --- intern/cycles/blender/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'intern/cycles/blender') diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt index 149967ad331..f0540486656 100644 --- a/intern/cycles/blender/CMakeLists.txt +++ b/intern/cycles/blender/CMakeLists.txt @@ -138,11 +138,6 @@ endif() blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") -# avoid link failure with clang 3.4 debug -if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4') - string(APPEND CMAKE_CXX_FLAGS_DEBUG " -gline-tables-only") -endif() - add_dependencies(bf_intern_cycles bf_rna) delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${ADDON_FILES}" ${CYCLES_INSTALL_PATH}) -- cgit v1.2.3