tce-load -i compiletc perl5 gperf https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.42.tar.xz cd libcap-2.42 sed -i '/install -m.*STACAPLIBNAME/d' libcap/Makefile find . -name Make.Rules -type f -exec sed -i 's/-g//g' {} \; find . -name Make.Rules -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" prefix=/usr/local lib=lib [0m 6.53s] sudo make CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" lib=lib prefix=/usr/local PKGCONFIGDIR=/usr/local/lib/pkgconfig install sudo chmod -v 755 /usr/local/lib/libcap.so.2.42