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

David Tardon dtardon at redhat.com
Sat Oct 28 17:19:11 UTC 2017


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

New commits:
commit 8f6ce24a1b51dde676d72132aeebe557cf1186b9
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 10:47:22 2017 +0200

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

diff --git a/external/libabw/ExternalProject_libabw.mk b/external/libabw/ExternalProject_libabw.mk
index 432f035ce285..d8e4d112ea35 100644
--- a/external/libabw/ExternalProject_libabw.mk
+++ b/external/libabw/ExternalProject_libabw.mk
@@ -34,7 +34,8 @@ $(call gb_ExternalProject_get_state_target,libabw,build) :
 			$(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
 			--disable-werror \
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
-			CXXFLAGS="$(CXXFLAGS) $(BOOST_CPPFLAGS) \
+			CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
+			CPPFLAGS="$(CPPFLAGS) $(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