Skip to content

Commit

Permalink
tools:Remove the --param compilation option
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuanglinx authored and zhangziyi10 committed Jan 21, 2025
1 parent 63ba591 commit ed91a1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/WASI-SDK.defs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ endif
# -fsanitize%: -fsanitize=address, -fsanitize=thread etc.
# -fno-sanitize%: -fno-sanitize=address, -fno-sanitize=thread etc.
# -W%: Warning flags, clang is more strict than gcc
# --param%: Warning flags, wasm-clang does not support

CFLAGS_STRIP = -m% -Wl,% -fsanitize% -fno-sanitize% -W%
CFLAGS_STRIP = -m% -Wl,% -fsanitize% -fno-sanitize% -W% --param%

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

0 comments on commit ed91a1e

Please sign in to comment.