mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #170376 from squalus/cross-clucene-core
clucene_core_2: fix cross compile
This commit is contained in:
commit
3a6729382c
@ -20,11 +20,14 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"-D_CL_HAVE_GCC_ATOMIC_FUNCTIONS=0"
|
||||
"-D_CL_HAVE_NAMESPACES_EXITCODE=0"
|
||||
"-D_CL_HAVE_NAMESPACES_EXITCODE__TRYRUN_OUTPUT="
|
||||
"-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE=0"
|
||||
"-D_CL_HAVE_NO_SNWPRINTF_BUG_EXITCODE=0"
|
||||
"-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE__TRYRUN_OUTPUT="
|
||||
"-D_CL_HAVE_TRY_BLOCKS_EXITCODE=0"
|
||||
"-D_CL_HAVE_TRY_BLOCKS_EXITCODE__TRYRUN_OUTPUT="
|
||||
"-D_CL_HAVE_PTHREAD_MUTEX_RECURSIVE=0"
|
||||
"-DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE=0"
|
||||
"-DLUCENE_STATIC_CONSTANT_SYNTAX_EXITCODE__TRYRUN_OUTPUT="
|
||||
];
|
||||
|
||||
patches = # From debian
|
||||
|
Loading…
Reference in New Issue
Block a user