27 lines
714 B
Plaintext
Raw Normal View History

2021-10-16 17:32:17 +11:00
# Description: Portable and efficient API to determine the call-chain of a program
# URL: https://savannah.nongnu.org/projects/libunwind
2023-09-12 06:47:20 +02:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2021-10-16 17:32:17 +11:00
# Depends on: libunwind
name=libunwind-32
2024-02-23 18:59:53 +01:00
version=1.8.1
2021-10-16 17:32:17 +11:00
release=1
2021-12-12 14:19:30 +11:00
source=(https://download.savannah.gnu.org/releases/libunwind/libunwind-$version.tar.gz)
2021-10-16 17:32:17 +11:00
build() {
2023-09-12 06:47:20 +02:00
cd libunwind-$version
2021-10-16 17:32:17 +11:00
2023-09-12 06:47:20 +02:00
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--disable-documentation
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
find $PKG/usr/include -type f ! -name libunwind-x86.h -delete
2024-02-23 19:43:18 +01:00
rm -r $PKG/usr/libexec
2021-10-16 17:32:17 +11:00
}