tce-load -i compiletc intltool polkit-dev gobject-introspection-dev vala-dev libqmi-dev wget https://www.freedesktop.org/software/ModemManager/ModemManager-1.18.12.tar.xz cd ModemManager-1.18.12 [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 --disable-maintainer-mode --with-polkit=permissive --with-systemd-journal=no --without-udev find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-Werror/-Wno-error/g' {} \; make [3m 55.32s] sudo make install ModemManager 1.18.12 ============================================== 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: no release: yes System paths: prefix: /usr/local configuration directory: ${prefix}/etc/ModemManager D-Bus system directory: ${prefix}/etc/dbus-1/system.d udev base directory: /lib/udev systemd unit directory: Features: udev: no policykit: permissive mbim: yes qmi: yes qrtr: no systemd suspend/resume: yes systemd journal: no at command via dbus: no Shared utils: icera: yes sierra: yes option: yes novatel: yes xmm: yes telit: yes foxconn: yes Plugins: generic: yes altair lte: yes anydata: yes broadmobi: yes cinterion: yes dell: yes dlink: yes fibocom: yes foxconn: yes gosuncn: yes haier: yes huawei: yes iridium: yes linktop: yes longcheer: yes mbm: yes motorola: yes mtk: yes nokia: yes nokia icera: yes novatel: yes novatel lte: yes option: yes option hso: yes pantech: yes qcom-soc: yes quectel: yes samsung: yes sierra legacy: yes sierra: yes simtech: yes telit: yes thuraya: yes tplink: yes ublox: yes via: yes wavecom: yes x22x: yes zte: yes Miscellaneous: gobject introspection: yes vala bindings: yes documentation: no code coverage: no