From a2b17a85ff5fcf62e35fe61c963910119f51ac69 Mon Sep 17 00:00:00 2001 From: hjl Date: Thu, 16 Aug 2007 21:10:14 +0000 Subject: 2007-08-16 H.J. Lu * Makefile.in (REVISION): New. (REVISION_c): New. (REVISION_s): New. (version.o): Also depend on $(REVISION). Add -DREVISION=$(REVISION_s). * version.c (version_string): Add REVISION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127568 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/version.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/version.c') diff --git a/gcc/version.c b/gcc/version.c index c839cbd272d..762c4beea91 100644 --- a/gcc/version.c +++ b/gcc/version.c @@ -20,6 +20,7 @@ const char bug_report_url[] = ""; /* The complete version string, assembled from several pieces. - BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */ + BASEVER, DATESTAMP, DEVPHASE, and REVISION are defined by the + Makefile. */ -const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX; +const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX REVISION; -- cgit v1.2.1