_9base: fix build on x86_64-linux

The previous Darwin breakage due to p9mbtowc also happens on Linux now.
This commit is contained in:
div72
2025-01-09 11:25:43 +03:00
parent 79b7a17d29
commit ed59c747b6
-2
View File
@@ -49,8 +49,6 @@ stdenv.mkDerivation {
# hide really common warning that floods the logs:
# warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
"-D_DEFAULT_SOURCE"
]
++ lib.optionals stdenv.cc.isClang [
# error: call to undeclared function 'p9mbtowc'; ISO C99 and later do not support implicit function declarations
"-Wno-error=implicit-function-declaration"
]