diff options
Diffstat (limited to 'testing/mame/revert-764f04c.patch')
-rw-r--r-- | testing/mame/revert-764f04c.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/mame/revert-764f04c.patch b/testing/mame/revert-764f04c.patch new file mode 100644 index 0000000000..77b0f31fe4 --- /dev/null +++ b/testing/mame/revert-764f04c.patch @@ -0,0 +1,14 @@ +--- a/makefile ++++ b/makefile +@@ -973,11 +973,7 @@ + endif + endif + else +-ifdef OVERRIDE_CC +-GCC_VERSION := $(shell $(TOOLCHAIN)$(subst @,,$(OVERRIDE_CC)) -dumpversion 2> /dev/null) +-else + GCC_VERSION := $(shell $(TOOLCHAIN)$(subst @,,$(CC)) -dumpversion 2> /dev/null) +-endif + ifneq ($(OS),solaris) + CLANG_VERSION := $(shell $(TOOLCHAIN)$(subst @,,$(CC)) --version 2> /dev/null | head -n 1 | grep -e 'version [0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?' -o | grep -e '[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?' -o | tail -n 1) + endif |