From: Hyotaek Shim Date: Thu, 13 Jan 2022 01:25:40 +0000 (+0900) Subject: Fix build issue regarding cmake 3.21.3 X-Git-Tag: accepted/tizen/unified/20220113.011258^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a91d78a4d494c669aac308d48db9c15ad0a12d84;p=platform%2Fhal%2Fbackend%2Femulator%2Fsensor-emulator.git Fix build issue regarding cmake 3.21.3 Change-Id: I82357f79a6e63cfde80d137554f342149138a0cd Signed-off-by: Hyotaek Shim --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b410e4..8a45991 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ SET(GSR "OFF") SET(SENSORHUB "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}")