Skip to content

Commit 9cf3d7a

Browse files
committed
Don't override CC and CXX unless running on OS X
1 parent 59e3aff commit 9cf3d7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/host/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ BINARY_DIRECTORY := bin
33
OUTPUT_BINARY := $(BINARY_DIRECTORY)/host_tests
44
CORE_PATH := ../../cores/esp8266
55

6+
# I wasn't able to build with clang when -coverage flag is enabled, forcing GCC on OS X
7+
ifeq ($(UNAME_S),Darwin)
68
CC := gcc
79
CXX := g++
10+
endif
811

912
CORE_CPP_FILES := $(addprefix $(CORE_PATH)/,\
1013
StreamString.cpp \

0 commit comments

Comments
 (0)