You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2024/06/13 02:21:22 UTC
(nuttx) 01/04: Add -shared flags to SHMODULEFLAGS
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 0cd401e6c436adb4a3a1073c4092a57a907b1d24
Author: Neale Ferguson <ne...@sinenomine.net>
AuthorDate: Tue Sep 26 15:35:16 2023 +1000
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
---
boards/sim/sim/sim/scripts/Make.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs
index faf72f58e5..651600867c 100644
--- a/boards/sim/sim/sim/scripts/Make.defs
+++ b/boards/sim/sim/sim/scripts/Make.defs
@@ -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.