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:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2015-11-19 18:24:39 +0300
committerRolf Bjarne Kvinge <rolf@xamarin.com>2015-11-19 21:24:24 +0300
commit9a80281b02c936f0c50138cbba35956606322f43 (patch)
tree9dbbfd0ee66340920e4697c31cc6e4859db60577 /mcs/class/Mono.CSharp
parent4f0cb955e9dec6724064cbc547d0a0fbed0d5d29 (diff)
Fix mcs build to use Thread.Abort.
Diffstat (limited to 'mcs/class/Mono.CSharp')
-rw-r--r--mcs/class/Mono.CSharp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/Mono.CSharp/Makefile b/mcs/class/Mono.CSharp/Makefile
index be27ecf831c..5fe1a18705a 100644
--- a/mcs/class/Mono.CSharp/Makefile
+++ b/mcs/class/Mono.CSharp/Makefile
@@ -11,7 +11,13 @@ ifdef MOBILE_STATIC
LIB_MCS_FLAGS += -d:IOS_REFLECTION
endif
+ifndef NO_THREAD_ABORT
+REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
+endif
+
TEST_MCS_FLAGS = -r:System.Core.dll
+LIB_MCS_FLAGS += $(REFERENCE_SOURCES_FLAGS)
+
include ../../build/library.make