Skip to content

Commit 4e9525e

Browse files
committed
8373388: Reenable LTO for libsplashscreen
Reviewed-by: erikj, dholmes, serb, prr
1 parent b6319f5 commit 4e9525e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/modules/java.desktop/lib/ClientLibraries.gmk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
226226
EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \
227227
EXCLUDES := $(LIBSPLASHSCREEN_EXCLUDES), \
228228
OPTIMIZATION := SIZE, \
229+
LINK_TIME_OPTIMIZATION := true, \
229230
CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) \
230231
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS) \
231232
$(ICONV_CFLAGS), \

0 commit comments

Comments
 (0)