* Add support for some network APIs. - Rebase workaround-broken-makefile.patch. - Backport upstream patches to fix build with Clang 19: * ignore-gcc-con-destructive-size-macros.patch * ignore-norm-max-macros.patch * ignore-stdc-embed-macros.patch * ignore-wasm-macros-indirect-function-table.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/wasi-libc?expand=0&rev=17
15 lines
497 B
Diff
15 lines
497 B
Diff
# Workaround as per https://github.com/WebAssembly/wasi-libc/issues/156
|
|
diff --git a/Makefile b/Makefile
|
|
index 2f9e9fd..8318748 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -917,7 +917,7 @@ check-symbols: startup_files libc
|
|
# This ignores whitespace because on Windows the output has CRLF line endings.
|
|
diff -wur "$(EXPECTED_TARGET_DIR)" "$(SYSROOT_SHARE)"
|
|
|
|
-install: finish
|
|
+install:
|
|
mkdir -p "$(INSTALL_DIR)"
|
|
cp -r "$(SYSROOT)/lib" "$(SYSROOT)/share" "$(SYSROOT)/include" "$(INSTALL_DIR)"
|
|
|