Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils

elfutils: fix compiling with llvm
This commit is contained in:
Atemu
2024-07-28 16:52:17 +02:00
committed by GitHub
@@ -73,7 +73,11 @@ stdenv.mkDerivation rec {
"--enable-deterministic-archives"
(lib.enableFeature enableDebuginfod "libdebuginfod")
(lib.enableFeature enableDebuginfod "debuginfod")
];
] ++ lib.optional (stdenv.targetPlatform.useLLVM or false) "--disable-demangler"
++ lib.optionals stdenv.cc.isClang [
"CFLAGS=-Wno-unused-private-field"
"CXXFLAGS=-Wno-unused-private-field"
];
enableParallelBuilding = true;