Unverified Commit 0e5556ea authored by Kevin Cox's avatar Kevin Cox Committed by GitHub
Browse files

daemontools: fix build with gcc15 (#478921)

parents 021c3b92 47b7700d
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'