diff options
Diffstat (limited to 'Build/source/libs/icu-xetex/config/mh-cygwin-msvc')
-rw-r--r-- | Build/source/libs/icu-xetex/config/mh-cygwin-msvc | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/Build/source/libs/icu-xetex/config/mh-cygwin-msvc b/Build/source/libs/icu-xetex/config/mh-cygwin-msvc index 6b978a4fdb3..9393a53ac3a 100644 --- a/Build/source/libs/icu-xetex/config/mh-cygwin-msvc +++ b/Build/source/libs/icu-xetex/config/mh-cygwin-msvc @@ -1,5 +1,5 @@ -## Cygwin-specific setup -## Copyright (c) 2001-2005, International Business Machines Corporation and +## Cygwin with Microsoft Visual C++ compiler specific setup +## Copyright (c) 2001-2006, International Business Machines Corporation and ## others. All Rights Reserved. # We install sbin tools into the same bin directory because @@ -16,7 +16,7 @@ GEN_DEPS.cc= : ## Flags to create/use a static library ifneq ($(ENABLE_SHARED),YES) ## Make sure that the static libraries can be built and used -CPPFLAGS += -DU_STATIC_IMPLEMENTATION +CPPFLAGS += -DU_STATIC_IMPLEMENTATION#M# else ## Make sure that the static libraries can be built STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION @@ -30,29 +30,16 @@ SHAREDLIBCPPFLAGS = ## Additional flags when building libraries and with threads LIBCPPFLAGS = -ifeq ($(ENABLE_DEBUG),1) -# /MDd means 'compiles and links a debugable multithreaded program with DLL' -THREADSCFLAGS += /MDd -THREADSCXXFLAGS += /MDd -# The debug flags are defined here because configure can't handle them. -CFLAGS+=/Zi -CXXFLAGS+=/Zi -LDFLAGS+=/DEBUG -else -# /MD means 'compiles and links a multithreaded program with DLL' -THREADSCFLAGS += /MD -THREADSCXXFLAGS += /MD -endif - ifeq ($(ENABLE_RELEASE),1) # Make sure that assertions are disabled CPPFLAGS+=-DU_RELEASE=1 endif # /GF pools strings and places them into read-only memory -# /GX enables exception handling -CFLAGS += /GF -CXXFLAGS += /GF /GX +# /EHsc enables exception handling +# /Zc:wchar_t makes wchar_t a native type. Required for C++ ABI compatibility. +CFLAGS+=/GF +CXXFLAGS+=/GF /EHsc /Zc:wchar_t CPPFLAGS+=/nologo DEFS+=-DWIN32 LDFLAGS+=/nologo |