From: JinWang An Date: Mon, 22 Nov 2021 07:59:03 +0000 (+0900) Subject: Fix cmake build option X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.5;p=platform%2Fhal%2Fbackend%2Ftm1%2Fsensor-tm1.git Fix cmake build option Change-Id: Iad0df36f17296661ba6e6f6c0c1b3830c73e7c5f Signed-off-by: JinWang An (cherry picked from commit 46f91da4ced8697bc1193ea212b6ec2bfb6780b6) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 70525e4..9cc0e50 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ SET(ACCEL "ON") SET(PROXIMITY "ON") # Common Options -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2 -omit-frame-pointer -std=gnu++0x") +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_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gc-section -Wl,--print-gc-section") MESSAGE("FLAGS: ${CMAKE_CXX_FLAGS}")