diff --git a/.gitignore b/.gitignore index 81720fc..893a3d4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ analysis-report/ *bindings/csharp/*.dll __pycache__ .DS_Store + +# nimble build dir +build/ diff --git a/bindings/nim/kzg_abi.nim b/bindings/nim/kzg_abi.nim index f1665a1..d0feb3b 100644 --- a/bindings/nim/kzg_abi.nim +++ b/bindings/nim/kzg_abi.nim @@ -21,6 +21,7 @@ when not defined(kzgExternalBlst): # Use default blst shipped with c-kzg-4844 {.compile: blstPath & "build/assembly.S".} {.compile: blstPath & "src/server.c"} + {.passc: "-D__BLST_PORTABLE__"} {.compile: srcPath & "c_kzg_4844.c"}