We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b5ba6 commit 18f13adCopy full SHA for 18f13ad
examples/libdl/build.sh
@@ -3,6 +3,9 @@
3
set -e
4
set -x
5
6
+# https://reviews.llvm.org/D153293
7
+# https://github.com/yamt/wasi-libc/tree/so or equivalent
8
+
9
WASI_SDK=${WASI_SDK:-/opt/wasi-sdk}
10
WASI_SYSROOT=${WASI_SYSROOT:-${WASI_SDK}/share/wasi-sysroot}
11
LLVM_HOME=${LLVM_HOME:-${WASI_SDK}}
@@ -19,6 +22,7 @@ CFLAGS="${CFLAGS} -O3 -fPIC"
19
22
# CFLAGS="${CFLAGS} -mtail-call"
20
23
21
24
CLINKFLAGS="-Xlinker --experimental-pic"
25
+# https://reviews.llvm.org/D156205
26
#CLIBLINKFLAGS="-shared -fvisibility=default -mexec-model=reactor"
27
CLIBLINKFLAGS="-shared -fvisibility=default"
28
0 commit comments