summaryrefslogtreecommitdiff
path: root/external/libvisio
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-10-28 16:19:47 +0200
committerDavid Tardon <dtardon@redhat.com>2017-10-28 20:35:50 +0200
commitcd13490334e9817514028381f1bd57ee67770bc2 (patch)
tree90f678d290676808e8255fdae1e9cf9d9f0b9b04 /external/libvisio
parent6eecca40aa77de90e3566645f812be5cf3b416d0 (diff)
libvisio: pass optimization flags to configure
Change-Id: I9275562fd3debaa0a53c0ed3e58974a5b5372f50 Reviewed-on: https://gerrit.libreoffice.org/44004 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libvisio')
-rw-r--r--external/libvisio/ExternalProject_libvisio.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/libvisio/ExternalProject_libvisio.mk b/external/libvisio/ExternalProject_libvisio.mk
index da34277cbf9e..53a87d1c0025 100644
--- a/external/libvisio/ExternalProject_libvisio.mk
+++ b/external/libvisio/ExternalProject_libvisio.mk
@@ -35,7 +35,8 @@ $(call gb_ExternalProject_get_state_target,libvisio,build) :
$(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
--disable-werror \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
- CXXFLAGS="$(CXXFLAGS) $(ICU_UCHAR_TYPE) $(BOOST_CPPFLAGS)" \
+ CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
+ CPPFLAGS="$(CPPFLAGS) $(ICU_UCHAR_TYPE) $(BOOST_CPPFLAGS)" \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& $(MAKE) \
)