mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'gcc-detect-case' into 'master'
I guess GCC isn't always "GCC" See merge request STJr/SRB2!1057
This commit is contained in:
commit
2a1a30b171
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue