mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 04:14:06 +00:00
Change things so that LIBGRADES includes the default grade.
Estimated hours taken: 1 Branches: main Change things so that LIBGRADES includes the default grade. This fixes a bug that sometimes caused the libraries not to be installed in the default grade, e.g. when $(GRADE) is set in Mmake.params. configure.in: Don't delete $(GRADE) from $(LIBGRADES). Mmakefile: scripts/Mmake.rules: compiler/make.program_target.m: Change the loops over $(ALL_LIBGRADES) so that they skip $(GRADE). scripts/Mmake.vars.in: Delete an bogus assignment setting LIBGRADES to empty, since it wasn't being used (LIBGRADES was being assigned again below). Update the documentation for LIBGRADES.
This commit is contained in:
@@ -343,7 +343,6 @@ EXTRA_RANLIBFLAGS =
|
||||
|
||||
# List of grades to install for a library
|
||||
ALL_LIBGRADES = $(TARGET_LIBGRADES) $(EXTRA_TARGET_LIBGRADES)
|
||||
LIBGRADES =
|
||||
EXTRA_LIBGRADES =
|
||||
|
||||
# $(CFLAGS_FOR_PIC) is passed to the C compiler when creating `.pic_o' files
|
||||
@@ -706,7 +705,8 @@ FINAL_INSTALL_MERC_LIB_DIR = \
|
||||
|
||||
#-----------------------------------------------------------------------------#
|
||||
|
||||
# Specify the additional compilation models to install by default
|
||||
# Specify the compilation models to install by default.
|
||||
# This list will include the default grade.
|
||||
LIBGRADES = @LIBGRADES@
|
||||
|
||||
#-----------------------------------------------------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user