tce-load -i compiletc gnutls38-dev wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-1.0.2.tar.gz cd libmicrohttpd-1.0.2 CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --disable-doc --disable-examples find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 11.92s] sudo make install configure: Toolchain settings: CC=gcc -flto -march=i486 -mtune=i686 -Os -pipe User/system/default flags: CPPFLAGS="" CFLAGS= "-g -O2" LDFLAGS= "" Final set of the flags for tests and examples: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_XOPEN_SOURCE=700" CFLAGS= "-fno-strict-aliasing -g -O2" LDFLAGS= "" Final set of the flags for GNU libmicrohttpd library: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_XOPEN_SOURCE=700" CFLAGS= "-fno-strict-aliasing -pthread -g -O2" LDFLAGS= "" configure: GNU libmicrohttpd 1.0.2 Configuration Summary: Target directory: /usr/local Cross-compiling: no Operating System: GNU/Linux Threading lib: posix Inter-thread comm: eventfd Shutdown of listening socket triggers select: yes poll support: yes epoll support: yes sendfile used: yes, Linux-style HTTPS support: yes (using libgnutls) Messages: yes Cookie parsing: yes Postproc: yes Basic auth.: yes Digest auth.: yes Digest auth. defaults: timeout: 90 seconds (default), max nc: 1000 (default) MD5: yes, built-in SHA-256: yes, built-in SHA-512/256: yes, built-in HTTP "Upgrade": yes Compact code: no (by default) Use thread names: yes Use debug asserts: no Use sanitizers: no Build static lib: no Build shared lib: yes Build docs: no Build examples: no Build tools: yes Test with libcurl: no, many unit tests will not run Heavy tests: no Fuzzing tests: no, heavy tests are not enabled configure: HTTPS subsystem configuration: License : LGPL version 2.1 or any later version