3
0
Fork 0
forked from mirrors/nixpkgs

Fix flex for building on darwin systems

This commit is contained in:
John Wiegley 2014-04-15 05:04:27 -05:00
parent abdd87da3c
commit bc08fa99f1

View file

@ -12,6 +12,10 @@ stdenv.mkDerivation {
propagatedNativeBuildInputs = [ m4 ];
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i Makefile -e 's/-no-undefined//;'
'';
crossAttrs = {
preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes