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:
authorRaja R Harinath <harinath@hurrynot.org>2004-05-07 07:06:19 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-05-07 07:06:19 +0400
commit8749e7b04d638556a36122372bcc7d9cd1e466b0 (patch)
tree173b42b896f33f976aac0d68b316e150fa76e6d0 /mcs/class/System/Makefile
parentdb8a554985639c165adc8620b982b7bfb5dabaa6 (diff)
(all-local): Built first pass with BOOT_COMPILE.
svn path=/trunk/mcs/; revision=26875
Diffstat (limited to 'mcs/class/System/Makefile')
-rw-r--r--mcs/class/System/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System/Makefile b/mcs/class/System/Makefile
index 665ad66e7e4..96cc0799745 100644
--- a/mcs/class/System/Makefile
+++ b/mcs/class/System/Makefile
@@ -21,10 +21,13 @@ EXTRA_DISTFILES = \
ifdef SECOND_PASS
include ../../build/library.make
else
+# First pass:
+# 1. Build temporary System.dll without depending on System.Xml.dll
+# 2. Since mcs.exe depends on System.dll, use BOOT_COMPILE to compile System.dll
all-local:
@if test ! -f ../lib/$(PROFILE)/$(CYCLIC_DEP) ; then \
echo "Creating temporary $(LIBRARY) without $(CYCLIC_DEP) reference." ; \
- $(MAKE) SECOND_PASS=yes || exit 1 ; \
+ $(MAKE) SECOND_PASS=yes CSCOMPILE='$(BOOT_COMPILE)' || exit 1 ; \
rm -f '$(depsdir)/$(PROFILE)_$(LIBRARY).stamp'; \
else \
$(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/define:XML_DEP /r:$(CYCLIC_DEP)' || exit 1; \