diff options
author | Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> | 2021-10-26 16:38:47 +0900 |
---|---|---|
committer | Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> | 2021-10-26 17:17:05 +0900 |
commit | 464ed5a672700436a1cb89d41afe8c088d2f3c5b (patch) | |
tree | c112c9519dee0fdd0dfcf66289ecc25bccff4a2c /CMakeLists.txt | |
parent | b27fb69aa966866920e86b10f7d10326a0042e33 (diff) |
build: Fix broken CMAKE_C_FLAGSneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1koi_11.0.5koi/11.0.513.93.012.93.012.92.012.91.012.90.111.0.5
Before this fix, CMAKE_C_FLAGS's values assigned from environment
was incorrectly overwritten and that prevents inheritance of
compile flags from build systems such as bitbake. So let's fix it.
BUG-AGL: SPEC-3952
Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I4a66bd06ac304a890053e216b6028eb62323bed6
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6db6abb..607d036 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ project(cluster_ipc C) cmake_minimum_required(VERSION 2.8) # set gcc flags -set(CMAKE_C_FLAGS "-Wall -O2") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O2") # Build option for DEBUG option(DEBUG_BUILD "This is debug build." OFF) |