aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gcc.gnu.org>2007-08-17 06:08:36 -0700
committerH.J. Lu <hjl@gcc.gnu.org>2007-08-17 06:08:36 -0700
commit5d39d00bb989107b4bf19311d19eaffc9bc6bf03 (patch)
tree75a35db4624712ea52a13b70c9d94fc6be081872 /gcc/Makefile.in
parentd69b1e8faf4c4c729643b5755a865593457b28f8 (diff)
downloadgcc-5d39d00bb989107b4bf19311d19eaffc9bc6bf03.zip
gcc-5d39d00bb989107b4bf19311d19eaffc9bc6bf03.tar.gz
gcc-5d39d00bb989107b4bf19311d19eaffc9bc6bf03.tar.bz2
Makefile.in (version.o): Depend on $(REVISION) only if REVISION_s is defined.
2007-08-17 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (version.o): Depend on $(REVISION) only if REVISION_s is defined. From-SVN: r127583
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 18cc5c8..190ff69 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1899,7 +1899,11 @@ gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl
dumpvers: dumpvers.c
+ifdef REVISION_s
version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE)
+else
+version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
+endif
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
-DREVISION=$(REVISION_s) \