Skip to content

Commit 7552b8c

Browse files
zhuanglinxxiaoxiang781216
authored andcommitted
tools:Remove the --param compilation option
1 parent 63ba591 commit 7552b8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/WASI-SDK.defs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ endif
6666
# -fsanitize%: -fsanitize=address, -fsanitize=thread etc.
6767
# -fno-sanitize%: -fno-sanitize=address, -fno-sanitize=thread etc.
6868
# -W%: Warning flags, clang is more strict than gcc
69+
# --param%: Warning flags, wasm-clang does not support
6970

70-
CFLAGS_STRIP = -m% -Wl,% -fsanitize% -fno-sanitize% -W%
71+
CFLAGS_STRIP = -m% -Wl,% -fsanitize% -fno-sanitize% -W% --param%
7172

7273
WCFLAGS += $(filter-out $(CFLAGS_STRIP),$(CFLAGS))
7374
WCFLAGS += --sysroot=$(WSYSROOT) -nostdlib -D__NuttX__

0 commit comments

Comments
 (0)