diff options
author | Zoltan Varga <vargaz@gmail.com> | 2011-01-11 16:50:21 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2011-01-11 16:51:00 +0300 |
commit | f4b5acc98478a647926baa0509356039127877d1 (patch) | |
tree | 25828bd05efb02de2e5a817889b87e1b4af0901f /mcs/class/aot-compiler | |
parent | eecee98e4ed58a1e86f94954516cf4a318d1b997 (diff) |
Dump the AOT log upon a failure.
Diffstat (limited to 'mcs/class/aot-compiler')
-rw-r--r-- | mcs/class/aot-compiler/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile index dc3a0bd438f..a0339653517 100644 --- a/mcs/class/aot-compiler/Makefile +++ b/mcs/class/aot-compiler/Makefile @@ -24,10 +24,10 @@ ifndef SKIP_AOT ifdef PLATFORM_AOT_SUFFIX Q_AOT=$(if $(V),,@echo "AOT [$(PROFILE)] $(notdir $(@))";) $(mcs_aot_image): $(mcs_exe) - $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mcs_exe) + $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mcs_exe) || cat $(PROFILE)_aot.log || (cat $(PROFILE)_aot.log; exit 1) $(mscorlib_aot_image): $(mscorlib_dll) - $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mscorlib_dll) + $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mscorlib_dll) || (cat $(PROFILE)_aot.log; exit 1) ifdef ENABLE_AOT |