mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
win: bls portable flags (#6997)
This commit is contained in:
parent
0b19aaaabf
commit
e4c010d590
@ -421,6 +421,7 @@ $Erigon.BuildFlags += " -ldflags ""-X $($Erigon.Package)/params.GitCommit=$($Eri
|
||||
|
||||
$Erigon.BinPath = [string](Join-Path $MyContext.StartDir "\build\bin")
|
||||
$env:GO111MODULE = "on"
|
||||
$env:CGO_CFLAGS = "-g -O2 -D__BLST_PORTABLE__"
|
||||
|
||||
New-Item -Path $Erigon.BinPath -ItemType Directory -Force | Out-Null
|
||||
if(!$?) {
|
||||
@ -485,6 +486,7 @@ if ($BuildTarget -eq "db-tools") {
|
||||
-D MDBX_WITHOUT_MSVC_CRT:BOOOL=OFF `
|
||||
-D MDBX_BUILD_TIMESTAMP=unknown `
|
||||
-D MDBX_FORCE_ASSERTIONS:INT=0
|
||||
-D __BLST_PORTABLE__
|
||||
if($LASTEXITCODE) {
|
||||
Write-Host "An error has occurred while configuring MDBX"
|
||||
exit $LASTEXITCODE
|
||||
|
Loading…
Reference in New Issue
Block a user