mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Don't override CC and CXX unless running on OS X
This commit is contained in:
parent
59e3aff678
commit
9cf3d7a360
@ -3,8 +3,11 @@ BINARY_DIRECTORY := bin
|
|||||||
OUTPUT_BINARY := $(BINARY_DIRECTORY)/host_tests
|
OUTPUT_BINARY := $(BINARY_DIRECTORY)/host_tests
|
||||||
CORE_PATH := ../../cores/esp8266
|
CORE_PATH := ../../cores/esp8266
|
||||||
|
|
||||||
|
# I wasn't able to build with clang when -coverage flag is enabled, forcing GCC on OS X
|
||||||
|
ifeq ($(UNAME_S),Darwin)
|
||||||
CC := gcc
|
CC := gcc
|
||||||
CXX := g++
|
CXX := g++
|
||||||
|
endif
|
||||||
|
|
||||||
CORE_CPP_FILES := $(addprefix $(CORE_PATH)/,\
|
CORE_CPP_FILES := $(addprefix $(CORE_PATH)/,\
|
||||||
StreamString.cpp \
|
StreamString.cpp \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user