Fix wrong prefix on x86_64 builds in macOS
This commit is contained in:
parent
b932b653dd
commit
9b87732b47
@ -57,7 +57,7 @@ CROSSDEV = i486-nuttx-elf-
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
CROSSDEV = 86_64-elf-
|
||||
CROSSDEV = x86_64-elf-
|
||||
endif
|
||||
|
||||
CC = $(CROSSDEV)gcc
|
||||
@ -73,6 +73,10 @@ CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(A
|
||||
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
|
||||
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
|
||||
|
||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
AFLAGS += -Wa,--divide
|
||||
endif
|
||||
|
||||
EXEEXT = .elf
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||
|
Loading…
Reference in New Issue
Block a user