Merge pull request #125 from radarhere/webp

Include both multibuild and libwebp default CFLAGS
This commit is contained in:
Hugo van Kemenade 2019-09-02 22:19:30 +03:00 committed by GitHub
commit 9d8a92cb42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,9 @@ function pre_build {
ORIGINAL_CPPFLAGS=$CPPFLAGS ORIGINAL_CPPFLAGS=$CPPFLAGS
CPPFLAGS="" CPPFLAGS=""
fi fi
CFLAGS="$CFLAGS -O3 -DNDEBUG"
build_libwebp build_libwebp
CFLAGS=$ORIGINAL_CFLAGS
if [ -n "$IS_OSX" ]; then if [ -n "$IS_OSX" ]; then
CPPFLAGS=$ORIGINAL_CPPFLAGS CPPFLAGS=$ORIGINAL_CPPFLAGS
fi fi