summaryrefslogtreecommitdiff
path: root/libsanitizer/Makefile.am
diff options
context:
space:
mode:
authorygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 09:56:03 +0000
committerygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 09:56:03 +0000
commit961b987dad8a1f55b45fa931a5219ae23646c050 (patch)
treec91ec38aac354179bbdd39db6ba7ee44face6d76 /libsanitizer/Makefile.am
parent9520b2cbffb76cd313aa55f4dba5f4e39653d485 (diff)
downloadgcc-961b987dad8a1f55b45fa931a5219ae23646c050.tar.gz
2013-12-05 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/59368 * Makefile.am (gcc_version): Added gcc_version. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205698 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer/Makefile.am')
-rw-r--r--libsanitizer/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsanitizer/Makefile.am b/libsanitizer/Makefile.am
index 6c3e5b053a2..dd0fc80da8b 100644
--- a/libsanitizer/Makefile.am
+++ b/libsanitizer/Makefile.am
@@ -10,6 +10,9 @@ if USING_MAC_INTERPOSE
SUBDIRS = sanitizer_common lsan asan ubsan
endif
+## May be used by toolexeclibdir.
+gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+
# Work around what appears to be a GNU make bug handling MAKEFLAGS
# values defined in terms of make variables, as is the case for CC and
# friends when we are called from the top level Makefile.