mirror of
https://github.com/holub/mame
synced 2025-04-16 21:44:32 +03:00
fix clang/gcc detection on windows (nw)
This commit is contained in:
parent
f540242c73
commit
bae93ee22c
2
makefile
2
makefile
@ -731,7 +731,7 @@ SRC = src
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
GCC_VERSION := $(shell $(subst @,,$(CC)) -dumpversion 2> NUL)
|
||||
CLANG_VERSION := $(shell $(subst @,,$(CC)) --version 2> NUL| head -n 1 | sed "s/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$$/\1/")
|
||||
CLANG_VERSION := $(shell $(subst @,,$(CC)) --version 2> NUL| head -n 1 | grep clang | sed "s/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$$/\1/" | head -n 1)
|
||||
PYTHON_AVAILABLE := $(shell $(PYTHON) --version > NUL 2>&1 && echo python)
|
||||
ifdef MSBUILD
|
||||
MSBUILD_PARAMS := /v:minimal /m:$(NUMBER_OF_PROCESSORS)
|
||||
|
Loading…
Reference in New Issue
Block a user