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
|
# compiler detection
|
||||||
CCISCLANG := $(shell echo `$(CC) --version` | grep clang)
|
CCISCLANG := $(shell echo `$(CC) --version` | grep clang)
|
||||||
ifeq "$(CCISCLANG)" ""
|
ifeq "$(CCISCLANG)" ""
|
||||||
CC=gcc
|
|
||||||
CXX=g++ -std=gnu++11
|
CXX=g++ -std=gnu++11
|
||||||
else
|
else
|
||||||
CC=clang
|
|
||||||
CXX=clang++ -std=gnu++11
|
CXX=clang++ -std=gnu++11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user