Fix wrong prefix on x86_64 builds in macOS

This commit is contained in:
Brennan Ashton 2020-05-31 20:29:38 -07:00 committed by Xiang Xiao
parent b932b653dd
commit 9b87732b47

View File

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