Merge pull request #172803 from squalus/boringssl

boringssl: support cross compile
This commit is contained in:
Sandro
2022-05-13 17:25:17 +02:00
committed by GitHub

View File

@@ -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 = ''