clucene: fix cross builds
This commit is contained in:
parent
05e0359303
commit
1beda0802e
1 changed files with 6 additions and 0 deletions
|
@ -21,11 +21,17 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" -D_CL_HAVE_PTHREAD_MUTEX_RECURSIVE_EXITCODE=0"
|
||||
configure_args+=" -D_CL_HAVE_PTHREAD_MUTEX_RECURSIVE_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -D_CL_HAVE_GCC_ATOMIC_FUNCTIONS_EXITCODE=0"
|
||||
configure_args+=" -D_CL_HAVE_GCC_ATOMIC_FUNCTIONS_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -D_CL_HAVE_TRY_BLOCKS_EXITCODE=0"
|
||||
configure_args+=" -D_CL_HAVE_TRY_BLOCKS_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -D_CL_HAVE_NAMESPACES_EXITCODE=0"
|
||||
configure_args+=" -D_CL_HAVE_NAMESPACES_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE=0"
|
||||
configure_args+=" -D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
configure_args+=" -DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE=0"
|
||||
configure_args+=" -DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE__TRYRUN_OUTPUT=0"
|
||||
fi
|
||||
clucene-devel_package() {
|
||||
depends="libstdc++-devel ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue