mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
build: honor pure-Go release mode
Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -80,5 +80,7 @@ fi
|
||||
# to pass this flag to all child processes spawned by the shell.
|
||||
export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__"
|
||||
|
||||
# CGO_ENABLED is required for multi-arch builds.
|
||||
export CGO_ENABLED=1
|
||||
# Native release builds may opt into the C++/GPU backends. Preserve an
|
||||
# explicit caller choice so the canonical pure-Go plugin build does not pull
|
||||
# platform headers that are intentionally absent from the release runner.
|
||||
export CGO_ENABLED="${CGO_ENABLED:-1}"
|
||||
|
||||
Reference in New Issue
Block a user