We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7921cc1 commit 844f03bCopy full SHA for 844f03b
make/lib/Awt2dLibraries.gmk
@@ -542,10 +542,9 @@ ifeq ($(USE_EXTERNAL_HARFBUZZ), true)
542
else
543
LIBFONTMANAGER_EXTRA_SRC = libharfbuzz
544
HARFBUZZ_CFLAGS := -DHAVE_OT -DHAVE_FALLBACK -DHAVE_UCDN -DHAVE_ROUND
545
- # Modern HarfBuzz requires c++11.
546
- HARFBUZZ_CXXFLAGS := -std=c++11
547
-
+ # Modern HarfBuzz requires c++11; but VS does not have the flag
548
ifneq ($(OPENJDK_TARGET_OS), windows)
+ HARFBUZZ_CXXFLAGS := -std=c++11
549
HARFBUZZ_CFLAGS += -DGETPAGESIZE -DHAVE_MPROTECT -DHAVE_PTHREAD \
550
-DHAVE_SYSCONF -DHAVE_SYS_MMAN_H -DHAVE_UNISTD_H \
551
-DHB_NO_PRAGMA_GCC_DIAGNOSTIC
0 commit comments