tce-load -i compiletc intltool dbus-glib-dev polkit-dev gudev-lib-dev libusb-dev libimobiledevice-dev gobject-introspection-dev wget https://gitlab.freedesktop.org/upower/upower/uploads/93cfe7c8d66ed486001c4f3f55399b7a/upower-0.99.11.tar.xz cd upower-0.99.11 sudo ln -s libplist-2.0.pc libplist.pc CFLAGS="-fPIC" CC="gcc -mtune=generic -Os -pipe" CXX="g++ -flto -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 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 11.22s] sudo make install UPower 0.99.7 ========================= 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: -fPIC 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: no Backend: linux libimobiledevice support: yes Maintainer mode: yes Building api docs: no Building man pages: no Building unit tests: yes