'Generic Commit'
Some checks failed
dropshell-build / build (push) Failing after 1m37s

This commit is contained in:
Your Name 2025-06-02 22:00:04 +12:00
parent f77c3350d5
commit 0e40776948

View File

@ -189,11 +189,20 @@ function install_unwind_musl() {
return
fi
# download and install unwind
git clone https://github.com/libunwind/libunwind.git
cd libunwind
autoreconf -i
./configure --enable-static --disable-minidebuginfo --disable-zlibdebuginfo
# Set cross-compiler and sysroot
export CC="x86_64-linux-musl-gcc --sysroot=$SYSROOT"
export AR="x86_64-linux-musl-ar"
export RANLIB="x86_64-linux-musl-ranlib"
# Configure for cross-compiling
./configure \
--host=x86_64-linux-musl \
--prefix="$SYSROOT/usr" \
--enable-static \
--disable-shared \
--disable-minidebuginfo \
--disable-zlibdebuginfo
make -j
${SUDOCMD:-} make install