tce-load -i compiletc liblzma-dev https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-27.tar.xz cd kmod-27 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-xz --with-zlib find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make[0m 6.27s] make install kmod 27 ======= prefix: /usr/local sysconfdir: ${prefix}/etc libdir: ${exec_prefix}/lib rootlibdir: ${exec_prefix}/lib includedir: ${prefix}/include bindir: ${exec_prefix}/bin Bash completions dir: ${datarootdir}/bash-completion/completions compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe cflags: -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=3 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections -fdata-sections -g -O2 ldflags: -Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections experimental features: no tools: yes python bindings: no logging: yes compression: xz=yes zlib=yes debug: no coverage: no doc: man: yes test-modules: yes features: +XZ +ZLIB -LIBCRYPTO -EXPERIMENTAL