Unverified Commit b63bcaba authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

wiringpi: fix build with gcc15 (#475562)

parents dad94396 2c96c57f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ let
      inherit version src;
      sourceRoot = "${src.name}/${subprj}";
      inherit buildInputs;

      # Fix build with gcc 15
      env.NIX_CFLAGS_COMPILE = "-std=gnu17";

      # Remove (meant for other OSs) lines from Makefiles
      preInstall = ''
        sed -i "/chown root/d" Makefile