tce-load -i dbus-glib-dev libical-dev readline-dev udev-lib-dev cd bluez-5.17 patch -Np1 -i ../bluez-5.17-obexd_without_systemd-1.patch 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 --libexecdir=/usr/local/lib --disable-systemd find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install sudo install -dm755 /usr/local/etc/bluetooth sudo install -m644 src/main.conf /usr/local/etc/bluetooth/main.conf