tce-load -i compiletc libasound-dev libsndfile-dev wget https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz cd libsamplerate-0.2.2 CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [0m 23.53s] sudo make install Configuration summary : libsamplerate version : ............... 0.2.2 Host CPU : ............................ aarch64 Host Vendor : ......................... unknown Host OS : ............................. linux-gnu CFLAGS : .............................. -DHAVE_CONFIG_H -O2 -pipe -DNDEBUG -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith CPPFLAGS : ............................ LDFLAGS : ............................. -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections Tools : C Compiler Vendor is : ................ gnu (10.2.0) Extra tools required for testing and examples : Have libsndfile : ..................... yes Have ALSA : ........................... yes Have FFTW : ........................... no (auto) Converter configuration : Sinc fast : ........................... yes Sinc balanced : ....................... yes Sinc best : ........................... yes Installation directories : Library directory : ................... /usr/local/lib Program directory : ................... /usr/local/bin Pkgconfig directory : ................. /usr/local/lib/pkgconfig HTML docs directory : ................. /usr/local/share/doc/libsamplerate