Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created November 2, 2016 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolfbjarne/97997ecab7963fef459eef4c7b833559 to your computer and use it in GitHub Desktop.
Save rolfbjarne/97997ecab7963fef459eef4c7b833559 to your computer and use it in GitHub Desktop.
diff --git a/mcs/build/profiles/monotouch_runtime.make b/mcs/build/profiles/monotouch_runtime.make
index 1603d12..4fb49a0 100644
--- a/mcs/build/profiles/monotouch_runtime.make
+++ b/mcs/build/profiles/monotouch_runtime.make
@@ -41,3 +41,5 @@ MOBILE_STATIC = yes
MOBILE_PROFILE = yes
PROFILE_DISABLE_BTLS=1
+
+MCS_FLAGS = $(MONOTOUCH_MCS_FLAGS)
diff --git a/mcs/build/profiles/xammac.make b/mcs/build/profiles/xammac.make
index 50e8214..2c96c22 100644
--- a/mcs/build/profiles/xammac.make
+++ b/mcs/build/profiles/xammac.make
@@ -3,6 +3,8 @@ BOOTSTRAP_PROFILE = build
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
+
+
# Use system resgen as we don't want local System.Windows.Forms dependency
RESGEN := $(dir $(shell which $(EXTERNAL_MCS)))resgen2
@@ -35,3 +37,5 @@ NO_TEST = yes
NO_INSTALL = yes
MOBILE_DYNAMIC = yes
MOBILE_PROFILE = yes
+
+MCS_FLAGS = $(XAMMAC_MCS_FLAGS)
diff --git a/mcs/build/profiles/xammac_net_4_5.make b/mcs/build/profiles/xammac_net_4_5.make
index 83bfc92..c2ffa02 100644
--- a/mcs/build/profiles/xammac_net_4_5.make
+++ b/mcs/build/profiles/xammac_net_4_5.make
@@ -15,3 +15,5 @@ NO_SYSTEM_DRAWING_DEPENDENCY=1
NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY=1
NO_SYSTEM_DESIGN_DEPENDENCY=1
NO_SYSTEM_DIRECTORY_SERVICES_DEPENDENCY=1
+
+MCS_FLAGS = $(XAMMAC_MCS_FLAGS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment