diff options
author | Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> | 2021-10-26 17:27:59 +0900 |
---|---|---|
committer | Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> | 2021-10-26 17:27:59 +0900 |
commit | 3ef96b9efb7c80f3f7a731379dcbfa9a21e2ceed (patch) | |
tree | 56339a0b399e17626dd676e510ced9e7957c8f36 | |
parent | fa8ad7927ede4f2a825021d13a8024742b8cb225 (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: I02989cb6c48c564af90ac0420447c36de5281131
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bdf2375..4ca449a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ find_package(PkgConfig) option(DEBUG_BUILD "This is debug build." OFF) # set gcc flags -set(CMAKE_C_FLAGS "-Wall -O2") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O2") if(DEBUG_BUILD) add_definitions(-DDEBUG) |