Make cross-buildable

svn path=/nixpkgs/trunk/; revision=30238
This commit is contained in:
Michael Raskin 2011-11-04 21:31:07 +00:00
parent bcfa6a78e8
commit ca92853163

View File

@ -13,6 +13,13 @@ stdenv.mkDerivation {
buildInputs = [yacc]; buildInputs = [yacc];
propagatedBuildNativeInputs = [m4]; propagatedBuildNativeInputs = [m4];
crossAttrs = {
preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
'';
};
meta = { meta = {
description = "A fast lexical analyser generator"; description = "A fast lexical analyser generator";
}; };