diff options
author | David Tardon <dtardon@redhat.com> | 2017-10-28 16:18:02 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-10-28 20:38:12 +0200 |
commit | e4b9c41107fb8a78580b19fbe103448bf98680df (patch) | |
tree | cf40e1388dd3987454fbe500a9f95940008c9cbc /external/libstaroffice | |
parent | ff4b017d202620da15349600c596295e6d55b68c (diff) |
libstaroffice: pass optimization flags to configure
Change-Id: I7bcc4ae1d73b6d8072bdd02d4d515df77be82aff
Reviewed-on: https://gerrit.libreoffice.org/44002
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libstaroffice')
-rw-r--r-- | external/libstaroffice/ExternalProject_libstaroffice.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libstaroffice/ExternalProject_libstaroffice.mk b/external/libstaroffice/ExternalProject_libstaroffice.mk index 28c4f47becd5..3f6c19e2879f 100644 --- a/external/libstaroffice/ExternalProject_libstaroffice.mk +++ b/external/libstaroffice/ExternalProject_libstaroffice.mk @@ -36,7 +36,7 @@ $(call gb_ExternalProject_get_state_target,libstaroffice,build) : $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \ $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ --disable-werror \ - CXXFLAGS="$(CXXFLAGS) $(CXXFLAGS_CXX11)" \ + 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')) \ |