diff options
-rw-r--r-- | makefiles/Makefile.gcc | 2 | ||||
-rw-r--r-- | makefiles/Makefile.tools | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/makefiles/Makefile.gcc b/makefiles/Makefile.gcc index 6ca7ba1..7d70bc1 100644 --- a/makefiles/Makefile.gcc +++ b/makefiles/Makefile.gcc @@ -93,7 +93,7 @@ endif ############################################################################### # Determine if the compiler supports simultaneous build & dep. -ccvsn := $(shell $(CC) -dumpversion) +ccvsn := $(shell $(CC) -dumpversion -dumpfullversion) # ccvsn = x.y.z GCCVER := $(word 1,$(subst ., ,$(ccvsn))) # GCCVER = x diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 33d6add..3021890 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -402,7 +402,7 @@ endif # Detect if the toolchain ought to support sanitizers SANITIZE_OK=no ifeq ($(toolchain),gcc) - GCC_VERSION := $(shell $(CC) -dumpversion) + GCC_VERSION := $(shell $(CC) -dumpversion -dumpfullversion) GCC_MAJOR := $(word 1,$(subst ., ,$(GCC_VERSION))) ifeq ($(shell expr $(GCC_MAJOR) \>= 6),1) SANITIZE_OK=yes |