_9base: fix build on x86_64-darwin
This commit is contained in:
parent
27e48d2c55
commit
b07ef31a8b
@ -47,6 +47,9 @@ 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"
|
||||
];
|
||||
LDFLAGS = lib.optionalString enableStatic "-static";
|
||||
makeFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user