tce-load -i compiletc libnl-dev openssl-dev cd hostapd-2.6 cd hostapd edit Makefile CFLAGS = -MMD -Wall edit defconfig CONFIG_LIBNL32=y cp defconfig .config make V=1 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" sudo make V=1 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" install