tce-load -wi compiletc libbluetooth-dev libnl-dev libusb-dev https://www.tcpdump.org/release/libpcap-1.10.4.tar.gz cd libpcap-1.10.4 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 --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; sudo ln -s /usr/local/include/libnl3/netlink /usr/local/include/netlink make sudo make DESTDIR=/tmp/destlibpcap install