Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2010-08-31 23:05:18 +0400
committerZoltan Varga <vargaz@gmail.com>2010-08-31 23:05:53 +0400
commita8d61c4514e3ff2cd74be50a58f6499f5b79abc8 (patch)
treed97d6f6385ddba189bb71070ef5758f7228bad1b /mcs/class/aot-compiler
parent52a6e46a65bcfe85746a9b2f79d68735a23ac68f (diff)
Really disable AOT on platforms which doesn't support it.
Diffstat (limited to 'mcs/class/aot-compiler')
-rw-r--r--mcs/class/aot-compiler/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile
index 48d76e7d597..a179ca95c28 100644
--- a/mcs/class/aot-compiler/Makefile
+++ b/mcs/class/aot-compiler/Makefile
@@ -32,6 +32,8 @@ $(mcs_aot_image): $(mcs_exe)
$(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)
+ifdef ENABLE_AOT
+
ifeq (net_2_0, $(PROFILE))
all-local: $(mscorlib_aot_image) $(mcs_aot_image)
endif
@@ -50,4 +52,6 @@ install-local:
endif
+endif
+
dist-local: