mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 02:48:37 +08:00
cmake: use -fvisibility=default for sim_head
So that macos build can find _main and _sim_doirq.
This commit is contained in:
parent
595a0aa5fb
commit
6eb7aa04bd
1 changed files with 1 additions and 0 deletions
|
@ -436,6 +436,7 @@ if(CONFIG_ARCH_SIM)
|
|||
TARGET nuttx
|
||||
PROPERTY NUTTX_KERNEL_COMPILE_OPTIONS)
|
||||
target_compile_options(sim_head PRIVATE ${options})
|
||||
target_compile_options(sim_head PRIVATE -fvisibility=default)
|
||||
|
||||
# We need the relocatable object to be first in the list of libraries to be
|
||||
# linked against final nuttx binary
|
||||
|
|
Loading…
Reference in a new issue