From b582d20ab42d1fd8eb62daf113eac96f170d7e12 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 19 May 2024 11:21:41 +0200 Subject: [PATCH] WASI: disable PIE. PIE doesn't work with WASI. --- dist-build/wasm32-wasi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/wasm32-wasi.sh b/dist-build/wasm32-wasi.sh index 7b869d3b..4a17f134 100755 --- a/dist-build/wasm32-wasi.sh +++ b/dist-build/wasm32-wasi.sh @@ -30,7 +30,7 @@ fi if ! ./configure ${LIBSODIUM_ENABLE_MINIMAL_FLAG} \ --prefix="$PREFIX" \ --host=wasm32-wasi \ - --disable-ssp --disable-shared --without-pthreads; then + --disable-pie --disable-ssp --disable-shared --without-pthreads; then cat config.log exit 1 fi