diff options
author | Marek Safar <marek.safar@gmail.com> | 2009-10-09 18:13:21 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2009-10-09 18:13:21 +0400 |
commit | fcdff7ed33abc831de331eca27757d99a76adc0b (patch) | |
tree | 215d04323241eef8c9d67855c5d35d53435aa761 /mcs/build | |
parent | e84d2dde76531ad107a7d48729e30f21e840b100 (diff) |
Fixed bootstrap with trunk
svn path=/branches/mono-2-6/mcs/; revision=143870
Diffstat (limited to 'mcs/build')
-rw-r--r-- | mcs/build/profiles/basic.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/build/profiles/basic.make b/mcs/build/profiles/basic.make index e6f05e4ccab..19a36342725 100644 --- a/mcs/build/profiles/basic.make +++ b/mcs/build/profiles/basic.make @@ -81,7 +81,7 @@ do-profile-check-monolite: $(depsdir)/.stamp endif $(PROFILE_CS): $(topdir)/build/profiles/basic.make $(depsdir)/.stamp - echo 'class X { static int Main () { return 0; } }' > $@ + echo 'class X { static int Main () { try { System.Activator.CreateInstance ("mscorlib", "System.Runtime.CompilerServices.CompilerGeneratedAttribute"); return 1; } catch { return 0; } } }' > $@ $(PROFILE_EXE): $(PROFILE_CS) $(BOOTSTRAP_MCS) /out:$@ $< |