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:
Neale Ferguson 2023-09-26 15:35:16 +10:00 committed by Alan Carvalho de Assis
parent 0cf7676aca
commit 0cd401e6c4
1 changed files with 1 additions and 1 deletions

View File

@ -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.