Merge pull request #172803 from squalus/boringssl
boringssl: support cross compile
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user