From: Tianqi Chen Date: Fri, 3 Jan 2020 20:28:49 +0000 (-0800) Subject: [CMAKE] Remove unecessary rdynamic (#4613) X-Git-Tag: upstream/0.7.0~1450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96c2b36b3e4baf8662cbde15e1ad76b099727113;p=platform%2Fupstream%2Ftvm.git [CMAKE] Remove unecessary rdynamic (#4613) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f8d5a6e..7d5c04a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,8 +100,8 @@ if(MSVC) else(MSVC) if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") message("Build in Debug mode") - set(CMAKE_C_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_C_FLAGS} -rdynamic") - set(CMAKE_CXX_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_CXX_FLAGS} -rdynamic") + set(CMAKE_C_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_C_FLAGS}") + set(CMAKE_CXX_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_CXX_FLAGS}") else() set(CMAKE_C_FLAGS "-O2 -Wall -fPIC ${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "-O2 -Wall -fPIC ${CMAKE_CXX_FLAGS}")