tce-load -i compiletc gudev-lib-dev gobject-introspection-dev wget https://www.freedesktop.org/software/libmbim/libmbim-1.24.4.tar.xz cd libmbim-1.24.4 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/mbim find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 21.45s] sudo make install libmbim 1.24.4 ============================================== 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