tce-load -i intltool json-glib-dev libsoup-dev dbus-dev

cd geoclue-2.0.0

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe"  ./configure --prefix=/usr/local --disable-static --libexecdir=/usr/local/lib/geoclue

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

make
sudo make install

        GeoClue 2.0.0
        =================

        prefix:                   /usr/local
        c compiler:               gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -g -O2
