Skip to content
Snippets Groups Projects
Commit 53b0dd17 authored by Sebastian Meiling's avatar Sebastian Meiling
Browse files

make: set default toolchain for board native on macOS to llvm

parent 36ae072c
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,12 @@ ifneq (0,$(shell test -d $(RIOTBOARD)/$(BOARD); echo $$?)) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment