forked from ports/compat-32
20 lines
631 B
Plaintext
20 lines
631 B
Plaintext
# Description: Portable and efficient API to determine the call-chain of a program
|
|
# URL: https://savannah.nongnu.org/projects/libunwind
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libunwind
|
|
|
|
name=libunwind-32
|
|
version=1.6.2
|
|
release=1
|
|
source=(https://download.savannah.gnu.org/releases/libunwind/libunwind-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libunwind-$version
|
|
./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
|
|
}
|