tce-load -i compiletc automake libtool-dev intltool leptonica-dev pango-dev icu61-dev opencl-headers ocl-icd cd tesseract-4.0.0 ./autogen.sh CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-opencl --datadir=/usr/local/share/tesseract-ocr/4.00 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 50.75s] sudo make install