summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2021-11-22 16:59:56 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2021-11-22 08:05:57 +0000
commit5d13a119377f3c622fbabfd7a271519efa0230f7 (patch)
tree7a009f3eadf2e2cc345bfe1a3dd7bb8cbf951f8f
parentadbd04dcb84d89186c90155a4940ea883dd0aa45 (diff)
downloadsensor-tw3-tizen_6.5.tar.gz
sensor-tw3-tizen_6.5.tar.bz2
sensor-tw3-tizen_6.5.zip
Fix cmake build optiontizen_6.5
Change-Id: I19e9fbed3e920d07881a084ae739d3c0c2c8c210 Signed-off-by: JinWang An <jinwang.an@samsung.com> (cherry picked from commit e9484ce20136e19fbb0217a0658e2816c17d541a)
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 827c2c2..d15fc51 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,7 @@ SET(DUST "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_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gc-section -Wl,--print-gc-section")