mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
sim: Provide MODULESTRIP for macOS
This commit is contained in:
committed by
patacongo
parent
c61d959655
commit
366c446003
@@ -96,6 +96,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
# eg. brew install x86_64-elf-gcc
|
||||
MODULECC = x86_64-elf-gcc
|
||||
MODULELD = x86_64-elf-ld
|
||||
MODULESTRIP = x86_64-elf-strip --strip-unneeded
|
||||
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
|
||||
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
|
||||
# relocations.
|
||||
|
||||
@@ -88,6 +88,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
# eg. brew install x86_64-elf-gcc
|
||||
MODULECC = x86_64-elf-gcc
|
||||
MODULELD = x86_64-elf-ld
|
||||
MODULESTRIP = x86_64-elf-strip --strip-unneeded
|
||||
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
|
||||
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
|
||||
# relocations.
|
||||
|
||||
@@ -98,6 +98,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
# eg. brew install x86_64-elf-gcc
|
||||
MODULECC = x86_64-elf-gcc
|
||||
MODULELD = x86_64-elf-ld
|
||||
MODULESTRIP = x86_64-elf-strip --strip-unneeded
|
||||
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
|
||||
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
|
||||
# relocations.
|
||||
|
||||
Reference in New Issue
Block a user