libabw: pass optimization flags to configure
Change-Id: I9492a4189b939f3dcaaec33f9c4591cb8715fd44 Reviewed-on: https://gerrit.libreoffice.org/43977 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
This commit is contained in:
parent
9d8dc76a33
commit
8f6ce24a1b
1 changed files with 2 additions and 1 deletions
3
external/libabw/ExternalProject_libabw.mk
vendored
3
external/libabw/ExternalProject_libabw.mk
vendored
|
@ -34,7 +34,8 @@ $(call gb_ExternalProject_get_state_target,libabw,build) :
|
|||
$(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
|
||||
--disable-werror \
|
||||
$(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) \
|
||||
|
|
Loading…
Reference in a new issue