mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #273444 from wegank/uri-clang
uri: fix build on darwin
This commit is contained in:
commit
a8dac2fa64
|
@ -11,12 +11,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "148361pixrm94q6v04k13s1msa04bx9yc3djb0lxpa7dlw19vhcd";
|
||||
};
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
env.NIX_CFLAGS_COMPILE = toString ([
|
||||
"-Wno-error=parentheses"
|
||||
# Needed with GCC 12
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-Wno-error=nonnull"
|
||||
];
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
# Needed with Clang 16
|
||||
"-Wno-error=deprecated-builtins"
|
||||
]);
|
||||
|
||||
nativeBuildInputs = [ cmake doxygen ];
|
||||
|
||||
|
|
|
@ -20958,7 +20958,7 @@ with pkgs;
|
|||
|
||||
ustream-ssl-mbedtls = callPackage ../development/libraries/ustream-ssl { ssl_implementation = mbedtls_2; };
|
||||
|
||||
uri = callPackage ../development/libraries/uri { stdenv = gcc10StdenvCompat; };
|
||||
uri = callPackage ../development/libraries/uri { };
|
||||
|
||||
cppcms = callPackage ../development/libraries/cppcms { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue