summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-11-01 17:40:27 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-11-02 13:48:46 +0000
commitdc2aead842f4cdf74f9259d3606c53c8bdae2c6b (patch)
tree9c88f505815adc71adc6f101aa57a0c88282fd5d
parentceeecbae510af6e2d1ebbf865761e4761d404033 (diff)
Fix build with -qt-libpng on powerpc
It appears we are missing some setups for SIMD optimization, and already have a workaround for that for NEON, so do the same for VSX. Fixes: QTBUG-66388 Change-Id: I1cc1d0fe9c5a9df97acb589d29dec4dceb8fc576 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
-rw-r--r--src/3rdparty/libpng/libpng.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/libpng/libpng.pro b/src/3rdparty/libpng/libpng.pro
index 577b61d833..a2f56669b4 100644
--- a/src/3rdparty/libpng/libpng.pro
+++ b/src/3rdparty/libpng/libpng.pro
@@ -10,7 +10,7 @@ MODULE_INCLUDEPATH = $$PWD
load(qt_helper_lib)
-DEFINES += PNG_ARM_NEON_OPT=0
+DEFINES += PNG_ARM_NEON_OPT=0 PNG_POWERPC_VSX_OPT=0
SOURCES += \
png.c \
pngerror.c \