Skip to content
Snippets Groups Projects
Commit 2ce30d2d authored by James R.'s avatar James R.
Browse files

Merge branch 'gcc-detect-case' into 'master'

I guess GCC isn't always "GCC"

See merge request STJr/SRB2!1057
parents f336b1e9 4e1d54c3
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ endif
# Automatically set version flag, but not if one was manually set
ifeq (,$(filter GCC%,$(.VARIABLES)))
ifneq (,$(findstring GCC,$(shell $(CC) --version))) # if it's GCC
ifneq (,$(findstring gcc,$(shell $(CC) --version))) # if it's GCC
version:=$(shell $(CC) -dumpversion)
# Turn version into words of major, minor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment