Enable integer truncation checks

This commit is contained in:
ArtDev 2021-08-25 12:12:59 +03:00 committed by GitHub
parent 5faa19682a
commit 0914b6aae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ set -e
export FREETYPE_DIR=$PWD/freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT
export CUPS_DIR=$PWD/cups-2.2.4
export CFLAGS+=" -DLE_STANDALONE -DANDROID -O3" # -I$FREETYPE_DIR -I$CUPS_DI
export CFLAGS+=" -DLE_STANDALONE -DANDROID -O3 -fsanitize=implicit-integer-truncation" # -I$FREETYPE_DIR -I$CUPS_DI
# if [ "$TARGET_JDK" == "aarch32" ] || [ "$TARGET_JDK" == "aarch64" ]
# then