mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
*/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.
16 lines
877 B
Plaintext
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
|