mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-08 18:34:00 +00:00
Fix another problem with --with-mscvrt.
Branches: main, 11.07 Fix another problem with --with-mscvrt. scripts/ml.in: The single-threaded version of the Microsoft C library is no longer available. Only the multi-threaded one is used by Visual Studio 2005 onwards. scripts/parse_ml_options.sh-subr.in: Update a comment regarding gcc's -s option on Mac OS X.
This commit is contained in:
@@ -376,7 +376,7 @@ use_msvcrt=@USE_MSVCRT@
|
||||
if test $use_msvcrt = "yes"
|
||||
then
|
||||
MSVCRT_OPTS="-MD" # Enable linking with the MS Visual C runtime.
|
||||
NODEFAULTLIB_FLAG="-nodefaultlib:libc"
|
||||
NODEFAULTLIB_FLAG="-nodefaultlib:libcmt"
|
||||
else
|
||||
MSVCRT_OPTS=""
|
||||
NODEFAULTLIB_FLAG=""
|
||||
|
||||
@@ -35,7 +35,8 @@ case $FULLARCH in
|
||||
strip=false
|
||||
;;
|
||||
*-darwin*)
|
||||
# `gcc -s' doesn't seem to do the right thing on Mac OS X
|
||||
# `gcc -s' is deprecated on Mac OS X. Enabling it will cause
|
||||
# a warning to be emitted.
|
||||
strip=false
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user