diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-24 16:05:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 16:05:39 +0300 |
commit | 5ef930b5f82c48e1601916aaeb42e53f32e4003b (patch) | |
tree | 437a994834afa755c16ebdc7ed260f59e57e44c2 /mcs/class/Mono.Profiler.Log | |
parent | 7b4dfeebc40cf8c027819b8b7bd85a4e7c87ad50 (diff) |
[bcl] Build some assemblies with -warnaserror (#5295)
* [bcl] Build some assemblies with -warnaserror
This ensures that we keep the build warning free.
We'll only opt-in a few assemblies that already have zero warnings.
We also only apply this when using csc as mcs might raise different warnings.
For now just opt-in assemblies in the net_4_x profile.
Diffstat (limited to 'mcs/class/Mono.Profiler.Log')
-rw-r--r-- | mcs/class/Mono.Profiler.Log/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/Mono.Profiler.Log/Makefile b/mcs/class/Mono.Profiler.Log/Makefile index 282c92d7665..d8f11017c52 100644 --- a/mcs/class/Mono.Profiler.Log/Makefile +++ b/mcs/class/Mono.Profiler.Log/Makefile @@ -8,6 +8,8 @@ LIB_REFS = System System.Core KEYFILE = $(LIBRARY_SNK) LIB_MCS_FLAGS = /unsafe /publicsign +LIBRARY_WARN_AS_ERROR = yes + NO_TEST = yes include ../../build/library.make |