diff options
author | David Tardon <dtardon@redhat.com> | 2017-10-28 16:25:31 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-10-28 20:37:01 +0200 |
commit | ff4b017d202620da15349600c596295e6d55b68c (patch) | |
tree | 4e91d97fc43233b7049017e5abfce367a54aa301 /external | |
parent | 18cacf522b873f7175470b0258fb1f73ad7dff7d (diff) |
libwps: pass optimization flags to configure
Change-Id: I086123b08fc409f48dac42ec5db1d6e19a1df379
Reviewed-on: https://gerrit.libreoffice.org/44006
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/libwps/ExternalProject_libwps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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')) \ |