mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user