mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Make cross-buildable
svn path=/nixpkgs/trunk/; revision=30238
This commit is contained in:
parent
bcfa6a78e8
commit
ca92853163
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ stdenv.mkDerivation {
|
|||
buildInputs = [yacc];
|
||||
propagatedBuildNativeInputs = [m4];
|
||||
|
||||
crossAttrs = {
|
||||
preConfigure = ''
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
export ac_cv_func_realloc_0_nonnull=yes
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A fast lexical analyser generator";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue