tce-load -i samba-dev cd cifs-utils-6.2 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 find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install $ ldd /sbin/mount.cifs libwbclient.so.0 => /usr/local/lib/libwbclient.so.0 (0x00007ff8eaa3e000) libwinbind-client.so => /usr/local/lib/samba/libwinbind-client.so (0x00007ff8ea094000) libreplace.so => /usr/local/lib/samba/libreplace.so (0x00007ff8e9e92000)