00cfg-wolfssl-3.6.8 414 B

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