From 4a24a14b09304272349c83c57b0d202193d30d4d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 4 Oct 2018 17:18:02 +0100 Subject: ensure fedora gcc gives us all the version information --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 064ae6928..0b6388a00 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3