diff --git a/config.sh b/config.sh index 5b5079dec..7de56d170 100644 --- a/config.sh +++ b/config.sh @@ -43,7 +43,9 @@ function pre_build { ORIGINAL_CPPFLAGS=$CPPFLAGS CPPFLAGS="" fi + CFLAGS="$CFLAGS -O3 -DNDEBUG" build_libwebp + CFLAGS=$ORIGINAL_CFLAGS if [ -n "$IS_OSX" ]; then CPPFLAGS=$ORIGINAL_CPPFLAGS fi