diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-16 21:10:14 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-16 21:10:14 +0000 |
commit | a2b17a85ff5fcf62e35fe61c963910119f51ac69 (patch) | |
tree | cfad22df9c02fdcb36dace4f1fbaccc09dbf13c7 /gcc/version.c | |
parent | 068f40295c3c2ba63eb76bb3e589978da09d8842 (diff) | |
download | gcc-a2b17a85ff5fcf62e35fe61c963910119f51ac69.tar.gz |
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* 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
Diffstat (limited to 'gcc/version.c')
-rw-r--r-- | gcc/version.c | 5 |
1 files changed, 3 insertions, 2 deletions
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[] = "<URL:http://gcc.gnu.org/bugs.html>"; /* 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; |