- mkdir build
- cd build
- ../configure --prefix=/tools \
- --with-sysroot=$ONSISTEM_CHROOT \
- --with-lib-path=/tools/lib \
- --target=$ONSISTEM_TARGET \
- --disable-nls \
- --disable-werror
- make
- case $(uname -m) in
- x86_64) mkdir -pv $PKG/tools/lib && ln -sv lib $PKG/tools/lib64 ;;
- esac
|