Commit acedbb4c authored by Kimmo Ollila's avatar Kimmo Ollila Committed by Kimmo Ollila
Browse files

Build fix for libwebp on INTEGRITY


Enabled C99 for INTEGRITY to allow non-constant values for array size

Change-Id: I51978d26a9ec4798eb541dc0a03b633ac9eb426a
Reviewed-by: default avatarNikola Velinov <nvelinov@ghs.com>
Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
Showing with 4 additions and 0 deletions
...@@ -115,6 +115,10 @@ android { ...@@ -115,6 +115,10 @@ android {
INCLUDEPATH += $$NDK_ROOT/sources/android/cpufeatures INCLUDEPATH += $$NDK_ROOT/sources/android/cpufeatures
} }
integrity {
QMAKE_CFLAGS += -c99
}
equals(QT_ARCH, arm)|equals(QT_ARCH, arm64) { equals(QT_ARCH, arm)|equals(QT_ARCH, arm64) {
SOURCES_FOR_NEON += \ SOURCES_FOR_NEON += \
$$PWD/libwebp/src/dsp/dec_neon.c \ $$PWD/libwebp/src/dsp/dec_neon.c \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment