Unverified Commit 345475b8 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

nn: fix build with gcc15 (#492802)

parents 66773213 ef673c35
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ stdenv.mkDerivation (finalAttrs: {

  sourceRoot = "${finalAttrs.src.name}/nn";

  # fixes:
  # triangle.c: In function 'triangulate':
  # triangle.c:15619:1: error: number of arguments doesn't match prototype
  env.NIX_CFLAGS_COMPILE = "-std=gnu17";

  passthru.updateScript = unstableGitUpdater { };

  meta = {