pigpio: fix build with modern GCC

With C23, the `pigpio` is currently broken because of various
underdefined function pointer argument lists. The upstream
code hasn't been patched to fix this yet (as of today, the
latest release is still v79 from 2021). Switching the build
to `-std=gnu17` fixes this for now.
This commit is contained in:
Manuel Frischknecht
2026-05-16 16:49:52 +02:00
parent 0ec9b63333
commit fd54a9fab1
+2
View File
@@ -26,6 +26,8 @@ mkDerivation rec {
hash = "sha256-Z+SwUlBbtWtnbjTe0IghR3gIKS43ZziN0amYtmXy7HE=";
};
NIX_CFLAGS_COMPILE = "-std=gnu17";
nativeBuildInputs = [
cmake
];