Merge pull request #90527 from erictapen/bind-fix-cross
bind: set BUILD_CC for cross compilation
This commit is contained in:
commit
8fa7d4acd1
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ stdenv.mkDerivation rec {
|
|||
"--without-eddsa"
|
||||
"--with-aes"
|
||||
] ++ lib.optional stdenv.isLinux "--with-libcap=${libcap.dev}"
|
||||
++ lib.optional enableSeccomp "--enable-seccomp";
|
||||
++ lib.optional enableSeccomp "--enable-seccomp"
|
||||
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "BUILD_CC=$(CC_FOR_BUILD)";
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput bin/bind9-config $dev
|
||||
|
|
Loading…
Reference in a new issue