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

David Tardon dtardon at redhat.com
Sat Oct 28 15:15:43 UTC 2017


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

New commits:
commit 9485655bbda5a0d1ed3e11ad25d4a2341c34bd58
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Oct 27 22:36:58 2017 +0200

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

diff --git a/external/librevenge/ExternalProject_librevenge.mk b/external/librevenge/ExternalProject_librevenge.mk
index 903ee55d9749..9575f50e3b27 100644
--- a/external/librevenge/ExternalProject_librevenge.mk
+++ b/external/librevenge/ExternalProject_librevenge.mk
@@ -34,7 +34,8 @@ $(call gb_ExternalProject_get_state_target,librevenge,build) :
 			--disable-generators \
 			--without-docs \
 			$(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)" \
 			$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
 			$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
 		&& $(MAKE) \


More information about the Libreoffice-commits mailing list