tce-load -i compiletc gettext bash coreutils cd xfsprogs-4.7.0 find . -name configure -type f -exec sed -i 's/-g -O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root LOCAL_CONFIGURE_OPTIONS="--prefix=/usr/local --disable-static --localstatedir=/var" sudo make PKG_DOC_DIR=/usr/local/share/doc/xfsprogs-4.3.0 install sudo make PKG_DOC_DIR=/usr/local/share/doc/xfsprogs-4.3.0 install-dev sudo cp libxcmd/.libs/libxcmd.so* /usr/local/lib sudo cp libxfs/.libs/libxfs.so* /usr/local/lib sudo cp libxlog/.libs/libxlog.so* /usr/local/lib sudo cp libxcmd/.libs/libxcmd.la /usr/local/lib sudo cp libxfs/.libs/libxfs.la /usr/local/lib sudo cp libxlog/.libs/libxlog.la /usr/local/lib