tce-load -i intltool gobject-introspection-dev gupnp-dev

cd gupnp-igd-0.2.3

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-introspection=yes

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

make
sudo make install


Package gupnp-igd-1.0 was not found in the pkg-config search path