From: Jaehoon Chung Date: Wed, 25 Jan 2023 04:52:00 +0000 (+0900) Subject: CMakeList: remove print-gc-sections option X-Git-Tag: accepted/tizen/7.0/unified/20230131.162857~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f2da100ec70d18547bb2de9f2e7134ce003b1e1;p=platform%2Fcore%2Fsystem%2Fsensord.git CMakeList: remove print-gc-sections option Remove print-gc-sections options. It doesn't need to display the message of removing unused section. Change-Id: Ia0e7d3797063203575f6a6ce9ae6e95cdca92be9 Signed-off-by: Jaehoon Chung --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d3494fe6..2b33e5db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2 -fomit-frame-pointer -std=gnu++0x") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdata-sections -ffunction-sections") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color") -SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,--gc-sections -Wl,--print-gc-sections") +SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,--gc-sections") SET(CMAKE_VERBOSE_MAKEFILE OFF) MESSAGE("FLAGS: ${CMAKE_CXX_FLAGS}") MESSAGE("FLAGS: ${CMAKE_EXE_LINKER_FLAGS}")