Include both multibuild and jpeg default CFLAGS (#117)

Include both multibuild and jpeg default CFLAGS
This commit is contained in:
Hugo 2019-05-13 09:45:49 +03:00 committed by GitHub
commit 1ddbcca33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,13 @@ function pre_build {
# Update to latest zlib for OSX build # Update to latest zlib for OSX build
build_new_zlib build_new_zlib
fi fi
# Custom flags to include both multibuild and jpeg defaults
ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -g -O2"
build_jpeg build_jpeg
CFLAGS=$ORIGINAL_CFLAGS
build_tiff build_tiff
build_libpng build_libpng
build_openjpeg build_openjpeg