The monotouch_runtime profile needs the DISABLE_COM flag too.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 14 Jan 2014 16:50:23 +0000 (17:50 +0100)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 14 Jan 2014 17:19:06 +0000 (18:19 +0100)
mcs/build/profiles/monotouch_runtime.make

index ca085da46035fa07178875b103f5745e82ef3499..f438e805f0d054115e869b8e7042725b92c83b2b 100644 (file)
@@ -14,7 +14,7 @@ profile-check:
        @:
 
 DEFAULT_REFERENCES = -r:mscorlib.dll
-PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -D:DISABLE_REMOTING -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
+PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -D:DISABLE_REMOTING -d:DISABLE_COM -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
 
 FRAMEWORK_VERSION = 2.1