Skip to content
Snippets Groups Projects
Verified Commit 8c8498bd authored by Max Rees's avatar Max Rees
Browse files

user/libjpeg-turbo: set -DFLOATTEST=64bit for ppc

parent e06ce962
No related branches found
No related tags found
1 merge request!464Security updates for 2020.06.02
......@@ -28,6 +28,13 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
# https://github.com/libjpeg-turbo/libjpeg-turbo/issues/344
# https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428
case "$CARCH" in
ppc) _floattest=64bit;;
esac
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
......@@ -36,6 +43,7 @@ build() {
-DCMAKE_C_FLAGS="$CFLAGS" \
-DENABLE_STATIC=OFF \
-DWITH_JPEG8=ON \
${_floattest:+-DFLOATTEST="$_floattest"} \
${CMAKE_CROSSOPTS} .
make
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment