another linux.2020 tweak
Leave CC alone; we've already determined whether it invoked gcc or clang
This commit is contained in:
@@ -119,10 +119,8 @@ endif
|
||||
# compiler detection
|
||||
CCISCLANG := $(shell echo `$(CC) --version` | grep clang)
|
||||
ifeq "$(CCISCLANG)" ""
|
||||
CC=gcc
|
||||
CXX=g++ -std=gnu++11
|
||||
else
|
||||
CC=clang
|
||||
CXX=clang++ -std=gnu++11
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user