tce-load -i 

cd check-0.10.0

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 

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

make
sudo make install

Summary of Check 0.10.0 options:

fork mode ............................ yes
high resolution timer replacement .... no
snprintf replacement ................. no
subunit support....................... no
timeout unit tests ................... yes
