Merge pull request #283 from radarhere/cflags

Fixed restoring original CFLAGS
This commit is contained in:
Hugo van Kemenade 2022-04-10 11:32:17 +03:00 committed by GitHub
commit e2c73f7f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ function pre_build {
build_lcms2
build_openjpeg
ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -O3 -DNDEBUG"
build_libwebp
CFLAGS=$ORIGINAL_CFLAGS