X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/f59164e3d128c7675a4d3934206346a3384e53a5..f3c0d7a59d99c2a94c6b8822291f0e42be3773c9:/icuSources/config/mh-msys-msvc?ds=sidebyside diff --git a/icuSources/config/mh-msys-msvc b/icuSources/config/mh-msys-msvc index 0a200428..05fe514a 100644 --- a/icuSources/config/mh-msys-msvc +++ b/icuSources/config/mh-msys-msvc @@ -1,4 +1,6 @@ ## -*-makefile-*- +## Copyright (C) 2016 and later: Unicode, Inc. and others. +## License & terms of use: http://www.unicode.org/copyright.html ## MSYS with Microsoft Visual C++ compiler specific setup ## Copyright (c) 2014, International Business Machines Corporation and ## others. All Rights Reserved. @@ -50,8 +52,9 @@ endif # -EHsc enables exception handling # -Zc:wchar_t makes wchar_t a native type. Required for C++ ABI compatibility. # -D_CRT_SECURE_NO_DEPRECATE is needed to quiet warnings about using standard C functions. -CFLAGS+=-GF -nologo -CXXFLAGS+=-GF -nologo -EHsc -Zc:wchar_t +# -utf-8 set source file encoding to utf-8. +CFLAGS+=-GF -nologo -utf-8 +CXXFLAGS+=-GF -nologo -EHsc -Zc:wchar_t -utf-8 CPPFLAGS+=-D_CRT_SECURE_NO_DEPRECATE DEFS+=-DWIN32 -DCYGWINMSVC LDFLAGS+=-nologo @@ -123,7 +126,6 @@ LDFLAGSICUDT+= -base:"0x4ad00000" -NOENTRY# The NOENTRY option is required for c LDFLAGSICUUC= -base:"0x4a800000"# in-uc = 1MB LDFLAGSICUI18N= -base:"0x4a900000"# io-in = 2MB LDFLAGSICUIO= -base:"0x4ab00000"# le-io = 1MB -LDFLAGSICULE= -base:"0x4ac00000"# lx-le = 512KB LDFLAGSICULX= -base:"0x4ac80000" LDFLAGSCTESTFW=# Unused for now. LDFLAGSICUTOOLUTIL= -base:"0x4ac00000"# Same as layout. Layout and tools probably won't mix.