[Libreoffice-commits] core.git: external/libebook

David Tardon dtardon at redhat.com
Sat Oct 28 18:44:48 UTC 2017


 external/libebook/ExternalProject_libebook.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2437c5daf5620cf63b4dc40cc696805aff782509
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 10:56:01 2017 +0200

    libe-book: pass optimization flags to configure
    
    Change-Id: I3d2833eccacc11d6183c0c13ca18a8d9deab5e02
    Reviewed-on: https://gerrit.libreoffice.org/43981
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/external/libebook/ExternalProject_libebook.mk b/external/libebook/ExternalProject_libebook.mk
index 17065829014b..476aac285b3a 100644
--- a/external/libebook/ExternalProject_libebook.mk
+++ b/external/libebook/ExternalProject_libebook.mk
@@ -38,7 +38,8 @@ $(call gb_ExternalProject_get_state_target,libebook,build) :
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
 			--disable-werror \
 			--disable-weffc \
-			CXXFLAGS="$(CXXFLAGS) $(ICU_UCHAR_TYPE) $(BOOST_CPPFLAGS) \
+			CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
+			CPPFLAGS="$(CPPFLAGS) $(ICU_UCHAR_TYPE) $(BOOST_CPPFLAGS) \
 				-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" \
 			XML_CFLAGS="$(LIBXML_CFLAGS)" \
 			XML_LIBS="$(LIBXML_LIBS)" \


More information about the Libreoffice-commits mailing list