forked from pool/wasi-libc
- Update to version (wasi-sdk-)20. - Rebase workaround-broken-makefile.patch. - Drop obsolete undefine-gcc-macros.patch. (Has been solved upstream in gh#WebAssembly/wasi-libc#379.) - Add ignore-fpclass-macros.patch to ignore __FPCLASS_* macros that are new with Clang 17. OBS-URL: https://build.opensuse.org/request/show/1113064 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/wasi-libc?expand=0&rev=10
15 lines
500 B
Diff
15 lines
500 B
Diff
# Workaround as per https://github.com/WebAssembly/wasi-libc/issues/156
|
|
diff --git a/Makefile b/Makefile
|
|
index f350ecb..52d9ca6 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -708,7 +708,7 @@ check-symbols: startup_files libc
|
|
# This ignores whitespace because on Windows the output has CRLF line endings.
|
|
diff -wur "expected/$(TARGET_TRIPLE)" "$(SYSROOT_SHARE)"
|
|
|
|
-install: finish
|
|
+install:
|
|
mkdir -p "$(INSTALL_DIR)"
|
|
cp -r "$(SYSROOT)/lib" "$(SYSROOT)/share" "$(SYSROOT)/include" "$(INSTALL_DIR)"
|
|
|