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:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-08-11 17:22:02 +0300
committerGitHub <noreply@github.com>2017-08-11 17:22:02 +0300
commitbf8cc86306c0684b2abde61feef1e5b11cf3f395 (patch)
treebfdd038e28f3517cc7375241b771d8c7efa0b70a /mcs/class/System.Core
parent5b2ac5b1d9a18866816282b0f459cd699a325ba3 (diff)
[bcl] Clean up FRAMEWORK_VERSION 4.0 and 2.0 checks (#5356)
We don't build those profiles anymore, we have a net_4_x configuration instead.
Diffstat (limited to 'mcs/class/System.Core')
-rw-r--r--mcs/class/System.Core/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mcs/class/System.Core/Makefile b/mcs/class/System.Core/Makefile
index ac79cff1623..7ac0624eafb 100644
--- a/mcs/class/System.Core/Makefile
+++ b/mcs/class/System.Core/Makefile
@@ -34,12 +34,10 @@ LIB_MCS_FLAGS += -d:FULL_AOT_RUNTIME
endif
ifneq (basic, $(PROFILE))
-CLR_PROFILE := $(filter 2.0 4.0 4.5, $(FRAMEWORK_VERSION))
-endif
-
-ifdef CLR_PROFILE
+ifneq (2.1, $(FRAMEWORK_VERSION))
LIB_REFS += Mono.Posix
endif
+endif
CC_PROFILE := $(filter monotouch% xammac, $(PROFILE))
ifdef CC_PROFILE