tce-load -i gtk2-dev

cd gtkimageview-1.6.4

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

Configuration:

        Source code location:   .
        Compiler:               gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe
        CFLAGS:                 -g -O2 -Wall -Werror -std=c99 -Wmissing-prototypes