mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
cmake(bugfix):fix CMake build break on MacOS
report by https://github.com/apache/nuttx/issues/14936 Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user