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

David Tardon dtardon at redhat.com
Sat Oct 28 18:37:24 UTC 2017


 external/libwps/ExternalProject_libwps.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff4b017d202620da15349600c596295e6d55b68c
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Oct 28 16:25:31 2017 +0200

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

diff --git a/external/libwps/ExternalProject_libwps.mk b/external/libwps/ExternalProject_libwps.mk
index 2ae5cf39ba38..ba1e1a646592 100644
--- a/external/libwps/ExternalProject_libwps.mk
+++ b/external/libwps/ExternalProject_libwps.mk
@@ -35,7 +35,7 @@ $(call gb_ExternalProject_get_state_target,libwps,build) :
 			--disable-debug \
 			--disable-werror \
 			$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
-			CXXFLAGS="$(CXXFLAGS) $(CXXFLAGS_CXX11) $(gb_VISIBILITY_FLAGS) $(gb_VISIBILITY_FLAGS_CXX)" \
+			CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
 			$(if $(filter LINUX,$(OS)),$(if $(SYSTEM_REVENGE),, \
 				'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \
 					-Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN')) \


More information about the Libreoffice-commits mailing list