Fix detection of clang compiler
This commit is contained in:
parent
c35f822f1c
commit
68c437d0fd
5
Makefile
5
Makefile
@ -1,6 +1,7 @@
|
|||||||
#Try using clang, if it's installed
|
#Try using clang, if it's installed
|
||||||
ifneq ($(shell which clang),clang not found)
|
ifneq ($(shell command -v clang),)
|
||||||
CXX = $(patsubst g++,clang++, $(shell wx-config --cxx)) -std=c++11 -I/include
|
CC = clang
|
||||||
|
CXX = $(patsubst g++,clang++, $(shell wx-config --cxx)) -std=c++98 -I/include
|
||||||
else
|
else
|
||||||
CXX = $(shell wx-config --cxx) -I/include
|
CXX = $(shell wx-config --cxx) -I/include
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user