8213187: Handle libwindowsaccessbridge need to access MSVCRT functions
authorihse
Mon, 03 Dec 2018 18:48:01 +0100
changeset 52805 2eb8ae0f3454
parent 52804 28094715ae71
child 52806 5ddfc90ab97d
child 57055 cac1ec6a34ee
8213187: Handle libwindowsaccessbridge need to access MSVCRT functions Reviewed-by: erikj
make/lib/Lib-jdk.accessibility.gmk
--- a/make/lib/Lib-jdk.accessibility.gmk	Mon Dec 03 18:46:10 2018 +0100
+++ b/make/lib/Lib-jdk.accessibility.gmk	Mon Dec 03 18:48:01 2018 +0100
@@ -41,7 +41,7 @@
         EXTRA_SRC := common, \
         OPTIMIZATION := LOW, \
         DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
-        CFLAGS := $(CFLAGS_JDKLIB) \
+        CFLAGS := $(filter-out -MD, $(CFLAGS_JDKLIB)) -MT \
             -DACCESSBRIDGE_ARCH_$2, \
         EXTRA_HEADER_DIRS := \
             include/bridge \