cdb: fix -Werror messages

Who enabled -Werror? I want to do bad things to them!!
This commit is contained in:
Profpatsch
2025-01-09 13:51:41 +01:00
parent bced68b6e5
commit aaff6cb108
@@ -36,6 +36,11 @@ stdenv.mkDerivation {
"out"
];
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-int"
"-Wno-error=implicit-function-declaration"
];
postPatch = ''
# A little patch, borrowed from Archlinux AUR, borrowed from Gentoo Portage
sed -e 's/^extern int errno;$/#include <errno.h>/' -i error.h