Skip to content

Commit

Permalink
Makefile: add an optional compiler wrapper (nodemcu#2066)
Browse files Browse the repository at this point in the history
Use as 'make WRAPCC="ccache"', for example.
  • Loading branch information
nwf authored and Konrad Eisele committed Jan 7, 2018
1 parent f07034c commit 94ea62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ else
endif
CCFLAGS += -ffunction-sections -fno-jump-tables -fdata-sections
AR = xtensa-lx106-elf-ar
CC = xtensa-lx106-elf-gcc
CC = $(WRAPCC) xtensa-lx106-elf-gcc
NM = xtensa-lx106-elf-nm
CPP = xtensa-lx106-elf-cpp
CPP = $(WRAPCC) xtensa-lx106-elf-gcc -E
OBJCOPY = xtensa-lx106-elf-objcopy
FIRMWAREDIR = ../bin/
UNAME_S := $(shell uname -s)
Expand Down

0 comments on commit 94ea62b

Please sign in to comment.