Commit a656aeb7 authored by Matthew Bauer's avatar Matthew Bauer
Browse files

libvisual: fix null malloc check on cross

this is needed to build
parent 024877e7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {

  hardeningDisable = [ "format" ];

  configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
    "ac_cv_func_malloc_0_nonnull=yes"
    "ac_cv_func_realloc_0_nonnull=yes"
  ];

  meta = {
    description = "An abstraction library for audio visualisations";
    homepage = https://sourceforge.net/projects/libvisual/;