mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
set ED25519_NONDETERMINISTIC on WebAssembly/WASI target
This commit is contained in:
parent
261761a02c
commit
38ebbac336
@ -11,7 +11,7 @@ export PREFIX="$(pwd)/libsodium-wasm32-wasi"
|
||||
mkdir -p $PREFIX || exit 1
|
||||
|
||||
export CC="clang"
|
||||
export CFLAGS="--target=wasm32-unknkown-wasi --sysroot=${WASI_SYSROOT} -O2"
|
||||
export CFLAGS="-DED25519_NONDETERMINISTIC=1 --target=wasm32-unknkown-wasi --sysroot=${WASI_SYSROOT} -O2"
|
||||
export LDFLAGS="-s -Wl,--no-threads"
|
||||
export NM="llvm-nm"
|
||||
export AR="llvm-ar"
|
||||
|
Loading…
Reference in New Issue
Block a user