Skip to content

Commit 39b15e4

Browse files
add DNO_PORTMAPPER for udp tests to run (#119)
1 parent 1e209d3 commit 39b15e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmbench/src/compile_lmbench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ LM_BENCH_BIN_DIR="$REPO_ROOT/lmbench/bin/wasm32-wasi"
119119
mkdir -p "$LM_BENCH_BIN_DIR"
120120

121121
REAL_CC="$CLANG --target=wasm32-unknown-wasi --sysroot=$MERGED_SYSROOT"
122-
CFLAGS="-O2 -g -I$MERGED_SYSROOT/include -I$MERGED_SYSROOT/include/wasm32-wasi -I$MERGED_SYSROOT/include/tirpc"
122+
CFLAGS="-DNO_PORTMAPPER -O2 -g -I$MERGED_SYSROOT/include -I$MERGED_SYSROOT/include/wasm32-wasi -I$MERGED_SYSROOT/include/tirpc"
123123
LDFLAGS_WASM=(
124124
"-Wl,--import-memory,--export-memory,--max-memory=${MAX_WASM_MEMORY},--export=__stack_pointer,--export=__stack_low,--export=__tls_base"
125125
"-L$MERGED_SYSROOT/lib/wasm32-wasi"

0 commit comments

Comments
 (0)