mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #11898 from aboseley/flex-cross-notests
flex: disable tests when cross compiling
This commit is contained in:
commit
17d1cd2efa
@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
|
||||
# disable tests which can't run on build machine
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in --replace "tests" " ";
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
export ac_cv_func_realloc_0_nonnull=yes
|
||||
|
Loading…
Reference in New Issue
Block a user