summaryrefslogtreecommitdiff
path: root/external/lcms2/ExternalProject_lcms2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/lcms2/ExternalProject_lcms2.mk')
-rw-r--r--external/lcms2/ExternalProject_lcms2.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/lcms2/ExternalProject_lcms2.mk b/external/lcms2/ExternalProject_lcms2.mk
index 8bfb5149446a..56982ee11bf5 100644
--- a/external/lcms2/ExternalProject_lcms2.mk
+++ b/external/lcms2/ExternalProject_lcms2.mk
@@ -28,6 +28,7 @@ $(call gb_ExternalProject_get_state_target,lcms2,build):
./configure --without-jpeg --without-tiff --with-pic \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
CPPFLAGS=" $(SOLARINC)" \
+ CFLAGS='$(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS))' \
$(if $(filter-out WNTGCC,$(OS)$(COM)),,CPPFLAGS=" -DCMS_DLL_BUILD") \
$(if $(filter IOS ANDROID,$(OS)), --disable-shared --enable-static, --enable-shared --disable-static) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \