diff options
author | Zoltan Varga <vargaz@gmail.com> | 2010-08-31 23:05:18 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2010-08-31 23:05:53 +0400 |
commit | a8d61c4514e3ff2cd74be50a58f6499f5b79abc8 (patch) | |
tree | d97d6f6385ddba189bb71070ef5758f7228bad1b /mcs/class/aot-compiler | |
parent | 52a6e46a65bcfe85746a9b2f79d68735a23ac68f (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/Makefile | 4 |
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: |