Merging r142575:
------------------------------------------------------------------------
r142575 | baldrick | 2011-10-20 03:28:38 -0700 (Thu, 20 Oct 2011) | 3 lines

If there is no micro version (i.e. gcc reports itself to be version 4.6 rather
than 4.6.0) ensure the micro version is zero, avoiding a compile failure.

------------------------------------------------------------------------

llvm-svn: 142613
diff --git a/dragonegg/Makefile b/dragonegg/Makefile
index 6c103e6..a76c513 100644
--- a/dragonegg/Makefile
+++ b/dragonegg/Makefile
@@ -31,7 +31,7 @@
 endif
 
 GCC_PLUGIN_DIR:=$(shell $(GCC) -print-file-name=plugin)
-GCC_VERSION:=$(shell $(GCC) -dumpversion)
+GCC_VERSION:=$(shell $(GCC) -dumpversion).0
 GCC_MAJOR=$(word 1, $(subst ., ,$(GCC_VERSION)))
 GCC_MINOR=$(word 2, $(subst ., ,$(GCC_VERSION)))
 GCC_MICRO=$(word 3, $(subst ., ,$(GCC_VERSION)))