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
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||||
CROSSDEV = 86_64-elf-
|
CROSSDEV = x86_64-elf-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
|
@ -73,6 +73,10 @@ CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(A
|
||||||
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
|
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
|
||||||
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
|
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||||
|
AFLAGS += -Wa,--divide
|
||||||
|
endif
|
||||||
|
|
||||||
EXEEXT = .elf
|
EXEEXT = .elf
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|
Loading…
Reference in New Issue