Add -shared flags to SHMODULEFLAGS
* boards/sim/sim/sim/scripts/Make.defs - Add -shared flag. Doesn't seem to be required for most architectures but going with the documentation
This commit is contained in:
parent
0cf7676aca
commit
0cd401e6c4
|
@ -246,7 +246,7 @@ CMODULEFLAGS += -fno-stack-protector
|
|||
|
||||
LDMODULEFLAGS = -r -e module_initialize --gc-sections
|
||||
LDMODULEFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)/libs/libc/modlib/gnu-elf.ld)
|
||||
SHMODULEFLAGS = -Bsymbolic -G -Bdynamic
|
||||
SHMODULEFLAGS = -shared -Bsymbolic -G -Bdynamic
|
||||
|
||||
# NuttX modules are ELF binaries.
|
||||
# Non-ELF platforms like macOS need to use a separate ELF toolchain.
|
||||
|
|
Loading…
Reference in New Issue