fix gcc version parameter ordering for gcc 8
This commit is contained in:
parent
c1e1df42e2
commit
d5d1634675
2
Makefile
2
Makefile
|
@ -319,7 +319,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# compiler versioning to adjust warning flags
|
# compiler versioning to adjust warning flags
|
||||||
CC_VERSION := $(shell $(CC) -dumpversion -dumpfullversion)
|
CC_VERSION := $(shell $(CC) -dumpfullversion -dumpversion)
|
||||||
CC_MAJOR := $(word 1,$(subst ., ,$(CC_VERSION)))
|
CC_MAJOR := $(word 1,$(subst ., ,$(CC_VERSION)))
|
||||||
CC_MINOR := $(word 2,$(subst ., ,$(CC_VERSION)))
|
CC_MINOR := $(word 2,$(subst ., ,$(CC_VERSION)))
|
||||||
define cc_ver_ge
|
define cc_ver_ge
|
||||||
|
|
Loading…
Reference in New Issue