tce-load -i compiletc sdl2-dev 

wget https://github.com/libsdl-org/SDL_net/archive/refs/tags/release-2.2.0.tar.gz

cd SDL_net-release-2.2.0

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" ./configure --prefix=/usr/local --localstatedir=/var

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [0m 14.97s]
sudo make install

