Merge pull request #3800 from madewokherd/mingwbuild
[mono.git] / mcs / build / profiles / monotouch_runtime.make
index 7e963cb73c0e257ef02707a6f868c3259f9bd882..1603d123c72bc13c29fa0b6b73e4a782da8bbfb1 100644 (file)
@@ -13,7 +13,7 @@ RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
 profile-check:
        @:
 
-DEFAULT_REFERENCES = -r:mscorlib.dll
+DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
 PROFILE_MCS_FLAGS = \
        -d:NET_1_1 \
        -d:NET_2_0 \
@@ -23,14 +23,13 @@ PROFILE_MCS_FLAGS = \
        -d:NET_4_5 \
        -d:MOBILE,MOBILE_LEGACY \
        -d:MONO \
-       -d:DISABLE_CAS_USE \
        -d:MONOTOUCH \
        -d:DISABLE_REMOTING \
        -d:DISABLE_COM \
        -d:FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK \
+       -d:NETSTANDARD \
        -nowarn:1699 \
        -nostdlib \
-       -lib:$(topdir)/class/lib/$(PROFILE) \
        $(DEFAULT_REFERENCES) \
        $(PLATFORM_DEBUG_FLAGS)
 
@@ -40,3 +39,5 @@ FRAMEWORK_VERSION = 2.1
 NO_INSTALL = yes
 MOBILE_STATIC = yes
 MOBILE_PROFILE = yes
+
+PROFILE_DISABLE_BTLS=1