This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/error_injector
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/error_injector by this 
push:
     new 05c0877b Disable unsupported compiler option for macOS.
05c0877b is described below

commit 05c0877b79b3c2d53119cc8e4c3613d12ab64e07
Author: PengZheng <[email protected]>
AuthorDate: Fri Jan 20 09:48:01 2023 +0800

    Disable unsupported compiler option for macOS.
---
 misc/error_injector/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/error_injector/CMakeLists.txt 
b/misc/error_injector/CMakeLists.txt
index ca4647fb..c8a63dc9 100644
--- a/misc/error_injector/CMakeLists.txt
+++ b/misc/error_injector/CMakeLists.txt
@@ -22,7 +22,8 @@ target_link_libraries(error_injector INTERFACE dl)
 target_link_options(error_injector INTERFACE -rdynamic)
 if(NOT APPLE)
     target_compile_options(error_injector INTERFACE -Wno-frame-address)
+else()
+    target_compile_options(error_injector INTERFACE -Wno-error=frame-address)
 endif()
-
 add_subdirectory(malloc)
 add_subdirectory(celix_properties)

Reply via email to