mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 17:52:47 +01:00
make: set default toolchain for board native on macOS to llvm
This commit is contained in:
parent
36ae072c55
commit
53b0dd1777
@ -153,7 +153,12 @@ ifneq (0,$(shell test -d $(RIOTBOARD)/$(BOARD); echo $$?))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Use TOOLCHAIN environment variable to select the toolchain to use.
|
# Use TOOLCHAIN environment variable to select the toolchain to use.
|
||||||
# Default: gnu
|
# Default for macOS: llvm; for other OS: gnu
|
||||||
|
ifeq ($(BOARD),native)
|
||||||
|
ifeq ($(OS),Darwin)
|
||||||
|
TOOLCHAIN ?= llvm
|
||||||
|
endif
|
||||||
|
endif
|
||||||
TOOLCHAIN ?= gnu
|
TOOLCHAIN ?= gnu
|
||||||
|
|
||||||
# TOOLCHAIN = clang is an alias for TOOLCHAIN = llvm
|
# TOOLCHAIN = clang is an alias for TOOLCHAIN = llvm
|
||||||
|
Loading…
Reference in New Issue
Block a user