Compiled on RPI4B4G with 5.10.77-piCore-v8 Compile Flags: CFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions' CXXFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti' LDFLAGS='-Wl,-O1' export CFLAGS CXXFLAGS LDFLAGS Dependencies: compiletc docbook-xsl gettext gzip inih-dev urcu-dev llvm-bin Commands: tar -xf xfsprogs-5.14.2.tar.xz cd xfsprogs-5.14.2 sed -i '1 s:bash:sh:' install-sh ./configure --prefix=/usr/local --enable-lto=yes --enable-lib64=no time make -j4 real 4m 15.48s user 14m 30.39s sys 1m 35.23s make DESTDIR=/tmp/packing-xfsprogs install make DESTDIR=/tmp/packing-xfsprogs-dev install-dev rm -fr /tmp/packing-xfsprogs/usr/local/include \ /tmp/packing-xfsprogs/usr/local/share/man \ /tmp/packing-xfsprogs/usr/local/share/locale # only 2 translations de, pl sed -i '1 s:/usr:/usr/local:' /tmp/packing-xfsprogs/usr/local/sbin/xfs_scrub_all file /tmp/packing-xfsprogs/usr/local/sbin/* | grep ELF | cut -d : -f 1 | xargs llvm-strip --strip-unneeded # remove deadlink, docs unlink /tmp/packing-xfsprogs-dev/usr/local/lib/libhandle.so rm -fr /tmp/packing-xfsprogs-dev/usr/local/share llvm-strip --strip-unneeded /tmp/packing-xfsprogs-dev/usr/local/lib/libhandle.a