Files
mercury/mdbcomp/Mercury.options
Zoltan Somogyi 0c7af82fc6 Use += instead of = to set MCFLAGS-modulename.
*/Mercury.options:
    Specify module-specific Mercury compiler flags using

        MCFLAGS-modulename += options

    instead of

        MCFLAGS-modulename = options

    because unlike the latter, the former allows Mmake.params files
    to add other options.
2023-10-06 00:04:07 +11:00

16 lines
877 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=4 sw=4 expandtab
#-----------------------------------------------------------------------------#
# Copyright (C) 2005-2006 University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
# Mercury.options - module-specific flags for Mmake and `mmc --make'.
#-----------------------------------------------------------------------------#
MCFLAGS-mer_mdbcomp += --no-warn-nothing-exported --no-warn-unused-imports
# Operations on symnames don't have deep enough recursion to pay back
# the overheads of duplicating the recursive procedure.
MCFLAGS-mdbcomp.sym_name += --no-optimize-constructor-last-call