System.dll needs to be bootstrapped with dmcs in the 4.0 profile. Fixes the build.
authorMarek Habersack <grendel@twistedcode.net>
Fri, 16 Apr 2010 16:27:22 +0000 (16:27 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 16 Apr 2010 16:27:22 +0000 (16:27 -0000)
svn path=/trunk/mcs/; revision=155638

mcs/class/System/Makefile

index 0e2a75541b4aa3dce8db4388eb7d613ef4eda0ad..e0244c003077e36a1601d5966212084b5cf23cdf 100644 (file)
@@ -58,6 +58,12 @@ ifdef USE_BOOT_COMPILE
 LIBRARY_COMPILE = $(BOOT_COMPILE)
 endif
 
+ifeq (4.0, $(FRAMEWORK_VERSION))
+ifeq (net_4_0_bootstrap, $(PROFILE))
+LIBRARY_COMPILE = $(Q_MCS) $(MCS) $(USE_MCS_FLAGS)
+endif
+endif
+
 # Because System.dll, Mono.Security.dll System.Xml.dll have a cyclic dependency, we need a two-pass build.
 # 1st pass - build System.dll without System.Xml.dll or Mono.Security.dll or System.Configuration.dll references
 # 2nd pass - build System.dll with System.Xml.dll and Mono.Security.dll or System.Configuration.dll references