diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-11 10:25:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-11 10:40:49 +0100 |
commit | 205044e89722e9b3a9c700ee3ae6f2335f57ef7b (patch) | |
tree | 9d9c4c735df3a5041009c53ebbc4b5037270fa1f | |
parent | 2b442c1df48fce7a265e983a902f4a30e3edabf1 (diff) |
Pass down some CFLAGS
Change-Id: I2c69d9ad61137adb82213ad2a4c40e7403a395a5
-rw-r--r-- | external/lcms2/ExternalProject_lcms2.mk | 1 |
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) \ |