pngoptimizer: fix build with gcc15 (#510833)

This commit is contained in:
Weijia Wang
2026-05-04 12:29:40 +00:00
committed by GitHub
+3
View File
@@ -26,6 +26,9 @@ stdenv.mkDerivation (finalAttrs: {
"DESTDIR=$(out)"
];
# Fix build with GCC 15
env.NIX_CFLAGS_COMPILE = "-Wno-error=old-style-definition";
postInstall = ''
mv $out/usr/bin $out/bin
mv $out/usr/share $out/share