diff --git a/src/3rdparty/libwebp.pri b/src/3rdparty/libwebp.pri
index 75ada7d6ff9b10df6b01344828becb54be546a40..1fc719b4d94f4f2fbbb2f3d018dbfd4516fb6c70 100644
--- a/src/3rdparty/libwebp.pri
+++ b/src/3rdparty/libwebp.pri
@@ -115,6 +115,10 @@ android {
     INCLUDEPATH += $$NDK_ROOT/sources/android/cpufeatures
 }
 
+integrity {
+    QMAKE_CFLAGS += -c99
+}
+
 equals(QT_ARCH, arm)|equals(QT_ARCH, arm64) {
     SOURCES_FOR_NEON += \
         $$PWD/libwebp/src/dsp/dec_neon.c \