mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-14 16:13:15 +00:00
Use a different makefile variable for -D__wasilibc_use_wasip2
(#499)
This switches from `EXTRA_CFLAGS` to `CFLAGS` so when `EXTRA_CFLAGS` is in the environment to specify `-g`, for example, it doesn't override p2-handling logic.
This commit is contained in:
parent
153f6321bb
commit
44c4b1e3a5
2
Makefile
2
Makefile
@ -397,7 +397,7 @@ CFLAGS += -I$(LIBC_BOTTOM_HALF_CLOUDLIBC_SRC)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WASI_SNAPSHOT), p2)
|
ifeq ($(WASI_SNAPSHOT), p2)
|
||||||
EXTRA_CFLAGS += -D__wasilibc_use_wasip2
|
CFLAGS += -D__wasilibc_use_wasip2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Expose the public headers to the implementation. We use `-isystem` for
|
# Expose the public headers to the implementation. We use `-isystem` for
|
||||||
|
Loading…
Reference in New Issue
Block a user