1#!/bin/sh 2 3# How to configure & build a static wolfssl-3.6.8 library 4# suitable for static build of ssl_helper. 5 6export CC="i686-gcc" 7export CFLAGS="\ 8-Os \ 9-static \ 10-fomit-frame-pointer \ 11-falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1 \ 12-ffunction-sections -fdata-sections \ 13" 14 15./configure \ 16 --host=i686 \ 17 --enable-static \ 18 --enable-singlethreaded \ 19 --disable-shared \ 20|| exit $? 21 22make 23