tce-load -i compiletc https://sourceforge.net/projects/giflib/files/giflib-5.2.1.tar.gz cd giflib-5.2.1 find . -name Makefile -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" [0m 10.69s] 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" PREFIX"=/usr/local" install