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:
Peter Ross
2008-10-08 03:26:02 +00:00
parent ad519b4272
commit ac3ae88eca
2 changed files with 20 additions and 0 deletions

View File

@@ -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@ \