tce-load -i compiletc intltool dbus-glib-dev polkit-dev gudev-lib-dev libusb-dev gobject-introspection-dev https://upower.freedesktop.org/releases/upower-0.99.11.tar.xz cd upower-0.99.11 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 --with-udevrulesdir=/etc/udev/rules.d --libexecdir=/usr/local/lib/upower --disable-man-pages --enable-deprecated find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 14.25s] sudo make install UPower 0.99.11 ========================= prefix: /usr/local libdir: ${exec_prefix}/lib libexecdir: /usr/local/lib/upower bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin datadir: ${datarootdir} sysconfdir: ${prefix}/etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe cflags: -g -O2 cppflags: -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DGSEAL_ENABLE xsltproc: /usr/local/bin/xsltproc Enable deprecated stuff: yes Backend: linux libimobiledevice support: no Maintainer mode: yes Building api docs: no Building man pages: no Building unit tests: yes