summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authormiyuki <miyuki@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-24 15:32:17 +0000
committermiyuki <miyuki@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-24 15:32:17 +0000
commitcdcc70f18b67faf74da869bea0c625813ed0c855 (patch)
tree2407875b7e219a1ea0699244049f9a8420addddf /Makefile.tpl
parent6d67051fa60ad6d4188e68bc74149e30a2d3ab6c (diff)
downloadgcc-cdcc70f18b67faf74da869bea0c625813ed0c855.tar.gz
Pass LSAN_OPTIONS to Makefiles in subdirectories
PR bootstrap/69329 * Makefile.tpl (BASE_FLAGS_TO_PASS): Add LSAN_OPTIONS. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index f7bb77e6d67..25673652547 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -590,7 +590,8 @@ BASE_FLAGS_TO_PASS =[+ FOR flags_to_pass +][+ IF optional +] \
$(CXX_FOR_TARGET_FLAG_TO_PASS) \
"TFLAGS=$(TFLAGS)" \
"CONFIG_SHELL=$(SHELL)" \
- "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
+ "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
+ $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
# We leave this in just in case, but it is not needed anymore.
RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)