summaryrefslogtreecommitdiff
path: root/src/3rdparty
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@qt.io>2017-01-05 15:31:51 +0200
committerKimmo Ollila <kimmo.ollila@theqtcompany.com>2017-01-12 07:47:53 +0000
commitacedbb4c2755289d2562a1f0cf30f8ee7a38fdc1 (patch)
tree25f3c96edbf9333ce7db8054efe3d95ad7a71445 /src/3rdparty
parent4ce4beff4abad90e57a6acd85b0ab96ca036e3a3 (diff)
downloadqtimageformats-acedbb4c2755289d2562a1f0cf30f8ee7a38fdc1.tar.gz
Build fix for libwebp on INTEGRITY
Enabled C99 for INTEGRITY to allow non-constant values for array size Change-Id: I51978d26a9ec4798eb541dc0a03b633ac9eb426a Reviewed-by: Nikola Velinov <nvelinov@ghs.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/libwebp.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/libwebp.pri b/src/3rdparty/libwebp.pri
index 75ada7d..1fc719b 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 \