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
|
@ -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 New Issue