mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
Awk for version number.
This commit is contained in:
parent
7187e60cbe
commit
5d63a6687f
@ -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 = .
|
||||
|
@ -8,7 +8,7 @@ srcdir = .
|
||||
|
||||
destdir = /usr/local
|
||||
|
||||
version=`$(srcdir)/../gcc$(subdir)/gcc -dumpversion`
|
||||
version=`awk '{print substr ($$4, 2, length ($$4) - 3); }' $(srcdir)/../gcc/version.c`
|
||||
prefix = $(destdir)
|
||||
bindir = $(prefix)/bin
|
||||
libdir = $(prefix)/lib
|
||||
|
Loading…
Reference in New Issue
Block a user