Skip to content

Commit

Permalink
cmake(bugfix):fix CMake build break on MacOS
Browse files Browse the repository at this point in the history
report by apache#14936

Signed-off-by: xuxin19 <[email protected]>
  • Loading branch information
xuxin930 authored and linguini1 committed Dec 27, 2024
1 parent b4c4c1f commit b4465dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sim/src/cmake/Toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ endif()
if(CONFIG_SIM_M32)
add_compile_options(-m32)
add_link_options(-m32)
elseif(NOT CONFIG_HOST_MACOS)
elseif(NOT APPLE)
add_compile_options(-no-pie)
add_link_options(-Wl,-no-pie)
endif()
Expand Down

0 comments on commit b4465dc

Please sign in to comment.