tce-load -i compiletc automake libtool-dev intltool gettext-dev wget https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz cd libqrencode-4.1.1 ./autogen.sh CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 2.34s] sudo make install Options used to compile and link: CC = gcc -mtune=generic -Os -pipe CFLAGS = -Wall -g -O2 -pthread CPPFLAGS = CXX = g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti CXXFLAGS = LDFLAGS =