From 22cd38fffae4a21699dae85be181f1b289c5c97e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 21 May 2024 13:30:55 -0700 Subject: [PATCH] Pass extra cflags to wasi-libc --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 15f2c78..04fb23f 100644 --- a/Makefile +++ b/Makefile @@ -143,6 +143,7 @@ WASI_LIBC_MAKEFLAGS = \ AR=$(BUILD_PREFIX)/bin/llvm-ar \ NM=$(BUILD_PREFIX)/bin/llvm-nm \ SYSROOT=$(BUILD_PREFIX)/share/wasi-sysroot \ + EXTRA_CFLAGS="$(WASI_SDK_CFLAGS)" \ TARGET_TRIPLE=$(1) build/wasi-libc.BUILT: build/compiler-rt.BUILT build/wasm-component-ld.BUILT