Skip to content

Commit

Permalink
_9base: fix build on x86_64-linux
Browse files Browse the repository at this point in the history
The previous Darwin breakage due to p9mbtowc also happens on Linux now.
  • Loading branch information
div72 committed Jan 9, 2025
1 parent 79b7a17 commit ed59c74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkgs/by-name/_9/_9base/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down

0 comments on commit ed59c74

Please sign in to comment.