tce-load -i compiletc openssl-dev readline-dev bash cd wvstreams-4.6.1 patch -Np1 -i /tmp/debian/patches/01_kfreebsd_ftbfs.diff patch -Np1 -i /tmp/debian/patches/02_doc_path.diff patch -Np1 -i /tmp/debian/patches/03_html_sgml.diff patch -Np1 -i /tmp/debian/patches/04_signed_request.diff patch -Np1 -i /tmp/debian/patches/06_gcc-4.7.diff patch -Np1 -i /tmp/debian/patches/07_buildflags.diff patch -Np1 -i /tmp/debian/patches/08_openssl-1.0.diff patch -Np1 -i /tmp/debian/patches/09_glibc-2.12.diff patch -Np1 -i /tmp/debian/patches/10_readline.diff patch -Np1 -i /tmp/debian/patches/11_typos.diff patch -Np1 -i /tmp/debian/patches/gcc-6.patch CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name wvrules-posix.mk -type f -exec sed -i 's/-O2//g' {} \; make [1m 19.84s] sudo make install