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

David Tardon dtardon at redhat.com
Sun Oct 29 07:30:36 UTC 2017


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

New commits:
commit ba27efc27faa0d26fc8c5d5f790807d0c036cddb
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 15:34:57 2017 +0200

    libmspub: pass optimization flags to configure
    
    Change-Id: I2107bee3122bb7535d097061fd433f1fc998741e
    Reviewed-on: https://gerrit.libreoffice.org/43995
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/external/libmspub/ExternalProject_libmspub.mk b/external/libmspub/ExternalProject_libmspub.mk
index 808d74b2f571..40ba3dc6e56e 100644
--- a/external/libmspub/ExternalProject_libmspub.mk
+++ b/external/libmspub/ExternalProject_libmspub.mk
@@ -35,7 +35,8 @@ $(call gb_ExternalProject_get_state_target,libmspub,build) :
 			--disable-werror \
 			--disable-weffc \
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
-			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" \
 			$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
 		&& $(MAKE) \


More information about the Libreoffice-commits mailing list