mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
Upstream intends using CBUILD llvm-config for CHOST. This means that it needs to be the same llvm version installed to the same prefix with the same components and all compiler flags need to be compatible with the cross compiler. All of these might not be true but fixing all of these is too complicated. Upstream workarounds include replacing CBUILD with CHOST in some paths but this doesn't work for abuild. This APKBUILD only prepends CBUILDROOT to include/link/bin dir and corrects components by passing --sysroot (added to $CFLAGS by abuild) and wrapping llvm-config. This is only enought to cross compile on alpine. For other cases try changing the wrapper to run the correct (CHOST) llvm-config with qemu or similar. Or work on a proper fix like https://github.com/llvm/llvm-project/issues/9777 |
||
---|---|---|
.. | ||
alpine-move-py-scripts-to-share.patch | ||
alpine-target.patch | ||
APKBUILD | ||
check-rustc | ||
do-not-install-libunwind-source.patch | ||
gcc-eh-libunwind.patch | ||
install-template-shebang.patch | ||
musl-fix-linux_musl_base.patch | ||
need-rpath.patch | ||
need-ssp_nonshared.patch | ||
no-export-ld-library-path.patch | ||
system-uefi-ld.patch | ||
system-wasm-ld.patch |