include stdarg.h and stddef.h in the wasi-libc sysroot to unbreak wasi-sdk
parent
09f238e854
commit
1231fd262b
|
@ -4,6 +4,7 @@ GH_ACCOUNT = WebAssembly
|
|||
GH_PROJECT = wasi-libc
|
||||
GH_COMMIT = 05cd0af0af4b5a191117d47a182adff1d6546b87
|
||||
DISTNAME = wasi-libc-0.20220413
|
||||
REVISION = 0
|
||||
|
||||
DISTFILES = ${GH_DISTFILE} \
|
||||
wasi-libc-llvm${MODCLANG_VERSION}-std-headers.tar.gz:0
|
||||
|
@ -26,5 +27,9 @@ SUBST_VARS += WRKDIR
|
|||
|
||||
post-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/sysroot/include/* \
|
||||
${PREFIX}/share/wasi-sysroot/include
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -146,8 +146,10 @@ share/wasi-sysroot/include/search.h
|
|||
share/wasi-sysroot/include/semaphore.h
|
||||
share/wasi-sysroot/include/signal.h
|
||||
share/wasi-sysroot/include/stdalign.h
|
||||
share/wasi-sysroot/include/stdarg.h
|
||||
share/wasi-sysroot/include/stdbool.h
|
||||
share/wasi-sysroot/include/stdc-predef.h
|
||||
share/wasi-sysroot/include/stddef.h
|
||||
share/wasi-sysroot/include/stdint.h
|
||||
share/wasi-sysroot/include/stdio.h
|
||||
share/wasi-sysroot/include/stdio_ext.h
|
||||
|
|
|
@ -5,7 +5,7 @@ PKGNAME = wasi-compiler-rt-${LLVM_V}
|
|||
REVISION = 0
|
||||
LIBPATH = wasi/libclang_rt.builtins-wasm32.a
|
||||
BUILDSUBDIR = lib/builtins
|
||||
BUILD_DEPENDS += lang/wasi-libc
|
||||
BUILD_DEPENDS += lang/wasi-libc>=0.20220413p0
|
||||
|
||||
# In transition from BSD-ish to Apache 2 + LLVM exceptions
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
|
|
@ -8,7 +8,7 @@ BUILDSUBDIR = libcxx
|
|||
# In transition from BSD-ish to Apache 2 + LLVM exceptions
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
BUILD_DEPENDS += lang/wasi-libc
|
||||
BUILD_DEPENDS += lang/wasi-libc>=0.20220413p0
|
||||
|
||||
CONFIGURE_ARGS= -DLLVM_PATH=${WRKDIR}/${DISTNAME} \
|
||||
-DCMAKE_C_COMPILER_WORKS=1 \
|
||||
|
|
|
@ -8,7 +8,7 @@ BUILDSUBDIR = libcxxabi
|
|||
# In transition from BSD-ish to Apache 2 + LLVM exceptions
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
BUILD_DEPENDS += lang/wasi-libc
|
||||
BUILD_DEPENDS += lang/wasi-libc>=0.20220413p0
|
||||
BUILD_DEPENDS += lang/wasi-sdk/libcxx
|
||||
|
||||
CONFIGURE_ARGS= -DLLVM_PATH=${WRKDIR}/${DISTNAME} \
|
||||
|
|
Loading…
Reference in New Issue