aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-06-12 21:34:45 +0000
committerK. Richard Pixley <rich@cygnus>1991-06-12 21:34:45 +0000
commit5d63a6687f3c6c025ef563bb3695b2f08a1f959c (patch)
treeb70d9f86bc7ddf5e5dcb6d0de3e0b1d1c411bfbd /gas/Makefile.in
parent7187e60cbe6f87aaf2d0e3b81abd9b23cb14b127 (diff)
downloadgdb-5d63a6687f3c6c025ef563bb3695b2f08a1f959c.zip
gdb-5d63a6687f3c6c025ef563bb3695b2f08a1f959c.tar.gz
gdb-5d63a6687f3c6c025ef563bb3695b2f08a1f959c.tar.bz2
Awk for version number.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index f812ede..21d8322 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -59,7 +59,7 @@ CCLIBFLAGS = -O
# Version of ar to use when compiling gnulib.
OLDAR = ar
-version=`$(srcdir)/../gcc$(subdir)/gcc -dumpversion`
+version=`awk '{print substr ($$4, 2, length ($$4) - 3); }' $(srcdir)/version.c`
# Directory where sources are, from where we are.
srcdir = .