summaryrefslogtreecommitdiff
path: root/data/libffi/make.sh
blob: cf3f0fecaf1336c20d88e3a8922bf598452c76eb (plain)
1
2
3
4
5
6
7
8
9
10
11
pkg:extract
cd gcc/libffi
pkg:patch
cd ../..
mkdir build
cd build
PKG_CONF=../gcc/libffi/configure pkg:configure --with-sysroot="${PKG_ROOT}"
make
pkg:install
mv "${PKG_DEST}"/usr/lib/gcc/*/include "${PKG_DEST}"/usr
pkg: rm -rfv /usr/lib/gcc