mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
Merge pull request #171672 from squalus/collectd
collectd: support cross compile
This commit is contained in:
commit
bb074513be
|
@ -36,7 +36,8 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--disable-werror"
|
||||
] ++ plugins.configureFlags;
|
||||
] ++ plugins.configureFlags
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "--with-fp-layout=nothing" ];
|
||||
|
||||
# do not create directories in /var during installPhase
|
||||
postConfigure = ''
|
||||
|
|
Loading…
Reference in a new issue