diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2020-03-12 03:20:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 03:20:48 +0300 |
commit | 4ca7d77e34f0b963fc50f4e1743f37fbc2b72d0c (patch) | |
tree | de4ed4ae19af1b7d889f9a9472d78b642bdf921d /mcs/build | |
parent | 338349925cd380cad2d19c6c15184cf22cf14800 (diff) |
[2020-02] Avoid passing /features:peverify-compat to csc, it generates very inefficient code in some cases. (#19145)
* Avoid passing /features:peverify-compat to csc, it generates very inefficient code in some cases.
See https://github.com/mono/mono/issues/18572#issuecomment-595924767.
Fixes https://github.com/mono/mono/issues/18572.
* Disable the IL verifier for now, it can't handle code compiled without /features:peverify-compat.
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Diffstat (limited to 'mcs/build')
-rw-r--r-- | mcs/build/config-default.make | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/build/config-default.make b/mcs/build/config-default.make index 11b1b354564..da3ede120a9 100644 --- a/mcs/build/config-default.make +++ b/mcs/build/config-default.make @@ -19,8 +19,7 @@ endif TEST_HARNESS = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/$(PARENT_PROFILE)nunit-lite-console.exe PLATFORM_DEBUG_FLAGS = /debug:portable -# Workaround for https://bugzilla.xamarin.com/show_bug.cgi?id=59967 -MCS_FLAGS = /features:peverify-compat /langversion:latest +MCS_FLAGS = /langversion:latest LIBRARY_FLAGS = ifndef CFLAGS CFLAGS = -g -O2 |