Commit 47b7700d authored by Ryan Hendrickson's avatar Ryan Hendrickson
Browse files

daemontools: fix build with gcc15

parent 3497aa5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {

    cd daemontools-${version}

    sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h_' src/conf-cc
    sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h -std=gnu17_' src/conf-cc

    substituteInPlace src/Makefile \
      --replace-fail '/bin/sh' '${bash}/bin/bash -oxtrace'