ensure fedora gcc gives us all the version information

This commit is contained in:
Vincent Sanders 2018-10-04 17:18:02 +01:00
parent 7a61c95724
commit 4a24a14b09

View File

@ -319,7 +319,7 @@ else
endif
# compiler versioning to adjust warning flags
CC_VERSION := $(shell $(CC) -dumpversion)
CC_VERSION := $(shell $(CC) -dumpversion -dumpfullversion)
CC_MAJOR := $(word 1,$(subst ., ,$(CC_VERSION)))
CC_MINOR := $(word 2,$(subst ., ,$(CC_VERSION)))
define cc_ver_ge