gaw: fix build with gcc 15 (#522270)

This commit is contained in:
Michael Daniels
2026-05-23 04:13:57 +00:00
committed by GitHub
+3
View File
@@ -78,6 +78,9 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ gtk3 ];
# K&R-style function declarations break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
meta = {
description = "Gtk Analog Wave viewer";
mainProgram = "gaw";