mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
x86_64: Use gcc compiler instead of clang for macOS
This commit is contained in:
committed by
Xiang Xiao
parent
06972c02f1
commit
274ee57696
@@ -56,6 +56,10 @@ ifeq ($(HOSTOS),Cygwin)
|
|||||||
CROSSDEV = i486-nuttx-elf-
|
CROSSDEV = i486-nuttx-elf-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||||
|
CROSSDEV = 86_64-elf-
|
||||||
|
endif
|
||||||
|
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
Reference in New Issue
Block a user