tce-load -i compiletc libmbim-dev gobject-introspection-dev wget https://www.freedesktop.org/software/libqmi/libqmi-1.30.8.tar.xz cd libqmi-1.30.8 [GUDEV_VERSION=232 needed] CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --libexecdir=/usr/local/lib/qmi --without-udev find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 36.43s] sudo make install libqmi 1.30.8 ============================================== Build: compiler: gcc -flto -mtune=generic -Os -pipe cflags: -g -O2 -std=gnu89 ldflags: warn cflags: -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-cast-function-type -Wno-packed -Wno-error=cast-function-type -Wno-error=packed warn ldflags: -Wl,--no-as-needed Maintainer mode: yes Documentation: no gobject introspection: yes System paths: prefix: /usr/local udev base directory: /lib/udev Features: QMI over MBIM: yes QMI over QRTR: no QMI username: no (root) rmnet support: yes Built items: libqmi-glib: yes (full) qmicli: yes qmi-firmware-update: yes with udev: no with MM runtime check: yes