mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 12:53:53 +00:00
Automatically determine if we should pass --restricted-command-line
Estimated hours taken: 0.5 Branches: main Automatically determine if we should pass --restricted-command-line to mmc. configure.in: If we are using the MSVC compiler or MinGW compiler then we should use --restricted-command-line when building. scripts/Mercury.config.in: Pass --restricted-command-line.
This commit is contained in:
@@ -118,6 +118,7 @@ DEFAULT_MCFLAGS=\
|
||||
--bytes-per-word "@BYTES_PER_WORD@" \
|
||||
--sync-term-size "@SYNC_TERM_SIZE@" \
|
||||
--dotnet-library-version "@MS_DOTNET_LIBRARY_VERSION@" \
|
||||
@RESTRICTED_COMMAND_LINE_OPT@ \
|
||||
@HAVE_DELAY_SLOT@ \
|
||||
@HAVE_BOXED_FLOATS@ \
|
||||
@MCFLAGS_FOR_CC@ \
|
||||
|
||||
Reference in New Issue
Block a user