Merge pull request #172803 from squalus/boringssl
boringssl: support cross compile
This commit is contained in:
commit
57b441acfb
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ buildGoModule {
|
|||
# (if we use postConfigure then cmake will loop runHook postConfigure)
|
||||
preBuild = ''
|
||||
cmakeConfigurePhase
|
||||
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
export GOARCH=$(go env GOHOSTARCH)
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
|
Loading…
Reference in a new issue