Pass $(ALL_GRADEFLAGS) to all invocations of the compiler, since

Estimated hours taken: 0.2
Branches: main

scripts/Mmake.rules:
	Pass $(ALL_GRADEFLAGS) to all invocations of the compiler, since
	the compiler now has sanity checks on option values that could be
	tripped with the default grade that may not be tripped with the actual
	desired grade.

library/Mmakefile:
	Delete my previous "fix" for this problem, since it is not needed
	anymore.
This commit is contained in:
Zoltan Somogyi
2003-03-27 05:32:09 +00:00
parent 039ac65b80
commit 96454662c0
2 changed files with 5 additions and 6 deletions

View File

@@ -80,9 +80,8 @@ endif
# maintain the expected output of the debugging test cases in debugging grades.
#
# Always generate dependencies for use by `mmc --make'.
MCFLAGS += --strict-sequential --trace minimum $(ALL_GRADEFLAGS) \
--generate-mmc-deps $(INTERMODULE_OPTS) \
$(ENABLE_TERM_OPTS) $(CHECK_TERM_OPTS)
MCFLAGS += --strict-sequential --trace minimum --generate-mmc-deps \
$(INTERMODULE_OPTS) $(ENABLE_TERM_OPTS) $(CHECK_TERM_OPTS)
# The IL and Java implementations of the standard library are not yet complete,
# so we need to pass `--allow-stubs' to get them to compile.

View File

@@ -136,13 +136,13 @@ endif # MMAKE_USE_MMC_MAKE == no
ifeq ($(MMAKE_USE_MMC_MAKE), no)
$(date0s_subdir)%.date0 : %.m
$(MCPI) $(ALL_MCPIFLAGS) $(*F)
$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) $(*F)
$(dates_subdir)%.date : %.m
$(MCI) $(ALL_MCIFLAGS) $(*F)
$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) $(*F)
$(date3s_subdir)%.date3 : %.m
$(MCSI) $(ALL_MCSIFLAGS) $(*F)
$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) $(*F)
$(optdates_subdir)%.optdate : %.m
$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) $(*F)