mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
Fix clang version detection on osx yet again (nw)
This commit is contained in:
parent
943ecf021f
commit
13967bb8a0
2
makefile
2
makefile
@ -696,7 +696,7 @@ CHECK_CLANG :=
|
||||
else
|
||||
GCC_VERSION := $(shell $(subst @,,$(CC)) -dumpversion 2> /dev/null)
|
||||
ifneq ($(OS),solaris)
|
||||
CLANG_VERSION := $(shell clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | tail -n 1)
|
||||
CLANG_VERSION := $(shell clang --version 2> /dev/null | head -n 1 | grep '[0-9]\.[0-9]' -o | tail -n 1)
|
||||
endif
|
||||
PYTHON_AVAILABLE := $(shell $(PYTHON) --version > /dev/null 2>&1 && echo python)
|
||||
CHECK_CLANG := $(shell gcc --version 2> /dev/null | grep 'clang' | head -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user