mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 04:43:53 +00:00
Use consistent indentation. Sort many blocks of module-specific MCFLAGS settings by module name. Add XXXs about some questionable options.
26 lines
1.4 KiB
Bash
26 lines
1.4 KiB
Bash
#---------------------------------------------------------------------------#
|
|
# vim: ts=4 sw=4 expandtab ft=sh
|
|
#---------------------------------------------------------------------------#
|
|
|
|
MCFLAGS-class += --no-warn-stdlib-shadowing
|
|
MCFLAGS-direct_arg_cyclic += --intermod-opt
|
|
MCFLAGS-direct_arg_cyclic_helper_1 += --intermod-opt
|
|
MCFLAGS-direct_arg_cyclic_helper_2 += --intermod-opt
|
|
MCFLAGS-direct_arg_intermod += --intermod-opt
|
|
MCFLAGS-direct_arg_intermod_helper_1 += --intermod-opt
|
|
MCFLAGS-direct_arg_intermod_helper_2 += --intermod-opt
|
|
MCFLAGS-g12_fe_bug += --intermod-opt
|
|
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_1 += --intermod-opt
|
|
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_1 += --no-warn-unused-interface-imports
|
|
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_2 += --intermod-opt
|
|
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_2.g12_fe_bug_helper_3 += --intermod-opt
|
|
|
|
# --intermod-opt causes impl_def_literal to abort during the STM
|
|
# transformation (bug #136). Its use here is disabled until that is fixed.
|
|
MCFLAGS-impl_def_literal += --no-intermod-opt --no-warn-simple-code
|
|
MCFLAGS-impl_def_literal.sub += --no-intermod-opt --no-warn-simple-code
|
|
|
|
MCFLAGS-nested_intermod += --intermod-opt
|
|
MCFLAGS-nested_intermod_helper_1 += --intermod-opt
|
|
MCFLAGS-non_word_mutable += --intermod-opt --no-intermodule-analysis
|