summaryrefslogtreecommitdiff
blob: 0c6570df9c98bec255f01fc61c8df39a2dd03d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- mercury-compiler-0.13.1.orig/scripts/Mmake.rules	2006-11-03 18:42:28.000000000 +1300
+++ mercury-compiler-0.13.1/scripts/Mmake.rules	2006-12-04 21:35:40.000000000 +1300
@@ -505,9 +505,9 @@
 		*.a *.so tmp_dir || true; } && \
 	for grade in $(ALL_LIBGRADES); do \
 		if [ "$$grade" != "$(GRADE)" ]; then \
-			$(MMAKE) GRADE=$$grade $*.depend || \
+			$(MMAKE) $(MMAKEFLAGS) GRADE=$$grade $*.depend || \
 				exit 1; \
-			$(MMAKE) GRADE=$$grade lib$*.install_library || \
+			$(MMAKE) $(MMAKEFLAGS) GRADE=$$grade lib$*.install_library || \
 				exit 1; \
 			for file in x $$grade_files; do \
 				if [ "$$file" != "x" ]; then \