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

David Tardon dtardon at redhat.com
Sat Oct 28 17:18:36 UTC 2017


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

New commits:
commit 9d8dc76a33190257f05b436437fe200efe9cc66f
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 15:55:06 2017 +0200

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

diff --git a/external/libpagemaker/ExternalProject_libpagemaker.mk b/external/libpagemaker/ExternalProject_libpagemaker.mk
index 8bd4d68bedad..852b6e846dd9 100644
--- a/external/libpagemaker/ExternalProject_libpagemaker.mk
+++ b/external/libpagemaker/ExternalProject_libpagemaker.mk
@@ -33,7 +33,8 @@ $(call gb_ExternalProject_get_state_target,libpagemaker,build) :
 			--disable-werror \
 			--disable-weffc \
 			$(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