summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-10-04 17:18:02 +0100
committerVincent Sanders <vince@kyllikki.org>2018-10-04 17:18:02 +0100
commit4a24a14b09304272349c83c57b0d202193d30d4d (patch)
tree677165be89d035c4de2ad18326c510a0fa9c4987
parent7a61c957243f8f4fe4d8b89dc19e90aa98e98a25 (diff)
downloadnetsurf-4a24a14b09304272349c83c57b0d202193d30d4d.tar.gz
netsurf-4a24a14b09304272349c83c57b0d202193d30d4d.tar.bz2
ensure fedora gcc gives us all the version information
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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