diff options
author | David Tardon <dtardon@redhat.com> | 2017-10-28 15:55:06 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-10-28 19:18:14 +0200 |
commit | 9d8dc76a33190257f05b436437fe200efe9cc66f (patch) | |
tree | 44f4bf96db05a7e8c7b50bbd682232e370cac57e /external | |
parent | 2a8c66adfffe3074f0433d44e3b6899c58b54db6 (diff) |
libpagemaker: pass optimization flags to configure
Change-Id: I8df4bedcb7e3d7b14709e8b881ee309cd511444e
Reviewed-on: https://gerrit.libreoffice.org/43998
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/libpagemaker/ExternalProject_libpagemaker.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/libpagemaker/ExternalProject_libpagemaker.mk b/external/libpagemaker/ExternalProject_libpagemaker.mk index 8bd4d68bedad..852b6e846dd9 100644 --- a/external/libpagemaker/ExternalProject_libpagemaker.mk +++ b/external/libpagemaker/ExternalProject_libpagemaker.mk @@ -33,7 +33,8 @@ $(call gb_ExternalProject_get_state_target,libpagemaker,build) : --disable-werror \ --disable-weffc \ $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ - CXXFLAGS="$(CXXFLAGS) $(BOOST_CPPFLAGS) \ + CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \ + CPPFLAGS="$(CPPFLAGS) $(BOOST_CPPFLAGS) \ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ && $(MAKE) \ |