Skip to content

Commit 18f13ad

Browse files
committed
comment
1 parent 85b5ba6 commit 18f13ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/libdl/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
set -e
44
set -x
55

6+
# https://reviews.llvm.org/D153293
7+
# https://github.com/yamt/wasi-libc/tree/so or equivalent
8+
69
WASI_SDK=${WASI_SDK:-/opt/wasi-sdk}
710
WASI_SYSROOT=${WASI_SYSROOT:-${WASI_SDK}/share/wasi-sysroot}
811
LLVM_HOME=${LLVM_HOME:-${WASI_SDK}}
@@ -19,6 +22,7 @@ CFLAGS="${CFLAGS} -O3 -fPIC"
1922
# CFLAGS="${CFLAGS} -mtail-call"
2023

2124
CLINKFLAGS="-Xlinker --experimental-pic"
25+
# https://reviews.llvm.org/D156205
2226
#CLIBLINKFLAGS="-shared -fvisibility=default -mexec-model=reactor"
2327
CLIBLINKFLAGS="-shared -fvisibility=default"
2428

0 commit comments

Comments
 (0)