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

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


 external/libwpg/ExternalProject_libwpg.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 12fa4ae5cbb27956fc69b5f55970a7ab32174f3d
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 16:23:09 2017 +0200

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

diff --git a/external/libwpg/ExternalProject_libwpg.mk b/external/libwpg/ExternalProject_libwpg.mk
index 41fe89e322e5..2d2bc08aa126 100644
--- a/external/libwpg/ExternalProject_libwpg.mk
+++ b/external/libwpg/ExternalProject_libwpg.mk
@@ -35,6 +35,7 @@ $(call gb_ExternalProject_get_state_target,libwpg,build) :
 			$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
 			$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
+			CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
 			$(if $(filter LINUX,$(OS)), \
 				'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \
 					-Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN') \


More information about the Libreoffice-commits mailing list