[Libreoffice-commits] core.git: external/jpeg-turbo

Stephan Bergmann sbergman at redhat.com
Thu Feb 18 10:48:28 UTC 2016


 external/jpeg-turbo/ExternalProject_jpeg-turbo.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77d329a90f5c4ba22883b0756af112d8ebdf2599
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 18 11:44:28 2016 +0100

    Don't overwrite preset CFLAGS
    
    (Esp. as building on Windows can put vital information into CFLAGS in LO's
    configure.ac that needs to be passed down to external sub-builds, since
    2125026220cd0b567ce4ab95de334105809bce0c "Support universal C runtime, SDK 10
    and .NET 4.6.")
    
    Put the additional debug/optimization flags first, so that any CFLAGS passed
    into the LO build can still override them.
    
    Change-Id: I4aa43f8e65d7e32391acf8840d8e6159f33a4b79

diff --git a/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk b/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
index 5809ff2..f787c19 100644
--- a/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
+++ b/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
@@ -32,7 +32,7 @@ $(call gb_ExternalProject_get_state_target,jpeg-turbo,configure) :
 			--with-jpeg8 \
 			--without-java \
 			--without-turbojpeg \
-			CFLAGS='$(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS))' \
+			CFLAGS='$(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS)) $(CFLAGS)' \
 	)
 
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list