You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2025/07/02 16:18:05 UTC
(nuttx) 01/11: CMake: fix add compile options
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit a5cb084c1fd9ea9aebac14206d83630c531851bf
Author: wangmingrong1 <wa...@xiaomi.com>
AuthorDate: Thu Jan 23 14:52:16 2025 +0800
CMake: fix add compile options
Signed-off-by: wangmingrong1 <wa...@xiaomi.com>
---
libs/libbuiltin/compiler-rt/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/libbuiltin/compiler-rt/CMakeLists.txt b/libs/libbuiltin/compiler-rt/CMakeLists.txt
index c45bad342e..0ad0085b6a 100644
--- a/libs/libbuiltin/compiler-rt/CMakeLists.txt
+++ b/libs/libbuiltin/compiler-rt/CMakeLists.txt
@@ -97,8 +97,8 @@ if(CONFIG_BUILTIN_COMPILER_RT)
endif()
if(NOT CONFIG_COVERAGE_NONE)
- target_compile_options(rt.builtins -fno-profile-instr-generate
- -fno-coverage-mapping)
+ target_compile_options(rt.builtins PRIVATE -fno-profile-instr-generate
+ -fno-coverage-mapping)
endif()
target_sources(rt.builtins PRIVATE ${RT_BUILTINS_SRCS})