From 4baf0984c283b2f7918e209aa1fa32f44b095f10 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 8 Apr 2019 19:07:51 +1000 Subject: [PATCH] Include both multibuild and jpeg default CFLAGS --- config.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.sh b/config.sh index 927355e40..ff98d37c3 100644 --- a/config.sh +++ b/config.sh @@ -24,7 +24,13 @@ function pre_build { # Update to latest zlib for OSX build build_new_zlib fi + + # Custom flags to include both multibuild and jpeg defaults + ORIGINAL_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -g -O2" build_jpeg + CFLAGS=$ORIGINAL_CFLAGS + build_tiff build_libpng build_openjpeg