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

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


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

New commits:
commit e6af915fae27a19b6ac79a9f76fb8b04361d6f4b
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 11:00:17 2017 +0200

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

diff --git a/external/libepubgen/ExternalProject_libepubgen.mk b/external/libepubgen/ExternalProject_libepubgen.mk
index d127f63956d1..772a41daa2e4 100644
--- a/external/libepubgen/ExternalProject_libepubgen.mk
+++ b/external/libepubgen/ExternalProject_libepubgen.mk
@@ -31,7 +31,8 @@ $(call gb_ExternalProject_get_state_target,libepubgen,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)" \
 			$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
 		&& $(MAKE) \
 	)


More information about the Libreoffice-commits mailing list