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:
Julien Fischer
2011-10-03 16:09:13 +00:00
parent d00a6f4f46
commit d032aaafcc
2 changed files with 3 additions and 2 deletions

View File

@@ -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=""

View File

@@ -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
;;
*)