strace: fix building with llvm

This commit is contained in:
Tristan Ross
2024-07-26 20:50:02 -07:00
parent aba9269332
commit fd7fce64d3
@@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
# -kk
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform elfutils) elfutils;
configureFlags = [ "--enable-mpers=check" ];
configureFlags = [ "--enable-mpers=check" ]
++ lib.optional stdenv.cc.isClang "CFLAGS=-Wno-unused-function";
passthru.updateScript = gitUpdater {
# No nicer place to find latest release.