File tree 1 file changed +8
-1
lines changed
make/modules/java.desktop/lib
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 470
470
471
471
endif
472
472
473
-
474
473
LIBFONTMANAGER_EXTRA_HEADER_DIRS := \
475
474
libharfbuzz \
476
475
common/awt \
@@ -485,6 +484,14 @@ BUILD_LIBFONTMANAGER_FONTLIB += $(LIBFREETYPE_LIBS)
485
484
486
485
LIBFONTMANAGER_OPTIMIZATION := HIGHEST
487
486
487
+ ifneq ($(filter $(TOOLCHAIN_TYPE), gcc clang), )
488
+ # gcc (and to an extent clang) is particularly bad at optimizing these files,
489
+ # causing a massive spike in compile time. We don't care about these
490
+ # particular files anyway, so lower optimization level.
491
+ BUILD_LIBFONTMANAGER_hb-subset.cc_OPTIMIZATION := SIZE
492
+ BUILD_LIBFONTMANAGER_hb-subset-plan.cc_OPTIMIZATION := SIZE
493
+ endif
494
+
488
495
ifeq ($(call isTargetOs, windows), true)
489
496
LIBFONTMANAGER_EXCLUDE_FILES += X11FontScaler.c \
490
497
X11TextRenderer.c
You can’t perform that action at this time.
0 commit comments