You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/06/01 02:07:46 UTC

[incubator-nuttx] branch master updated: x86_64: Use gcc compiler instead of clang for macOS

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 274ee57  x86_64: Use gcc compiler instead of clang for macOS
274ee57 is described below

commit 274ee576963466a2740a8a7ae293c689d863290f
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sun May 31 17:10:35 2020 -0700

    x86_64: Use gcc compiler instead of clang for macOS
---
 boards/x86_64/intel64/qemu-intel64/scripts/Make.defs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boards/x86_64/intel64/qemu-intel64/scripts/Make.defs b/boards/x86_64/intel64/qemu-intel64/scripts/Make.defs
index a5cbd8a..2890024 100644
--- a/boards/x86_64/intel64/qemu-intel64/scripts/Make.defs
+++ b/boards/x86_64/intel64/qemu-intel64/scripts/Make.defs
@@ -56,6 +56,10 @@ ifeq ($(HOSTOS),Cygwin)
 CROSSDEV = i486-nuttx-elf-
 endif
 
+ifeq ($(CONFIG_HOST_MACOS),y)
+CROSSDEV = 86_64-elf-
+endif
+
 CC = $(CROSSDEV)gcc
 CPP = $(CROSSDEV)gcc -E
 LD = $(CROSSDEV)ld