8300692: GCC 12 reports some compiler warnings in bundled freetype

Reviewed-by: erikj, serb, jwaters
This commit is contained in:
Dan Lutker 2023-01-21 12:05:35 +00:00 committed by Julian Waters
parent bb42e61a61
commit a6c2a2ae79

View File

@ -428,6 +428,7 @@ else
$(BUILD_LIBFREETYPE_CFLAGS), \
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
DISABLED_WARNINGS_gcc := dangling-pointer stringop-overflow, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
))