-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wget/ssl_helper: update to wolfssl-3.9.8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
- Loading branch information
Denys Vlasenko
committed
Aug 21, 2016
1 parent
7b25b1c
commit de3da6b
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| #!/bin/sh | ||
|
|
||
| # How to configure & build a static wolfssl library | ||
| # suitable for static build of ssl_helper. | ||
|
|
||
| export CC="i686-gcc" | ||
| export CFLAGS="\ | ||
| -Os \ | ||
| -static \ | ||
| -fomit-frame-pointer \ | ||
| -falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1 \ | ||
| -ffunction-sections -fdata-sections \ | ||
| " | ||
|
|
||
| { | ||
|
|
||
| ./configure \ | ||
| --host="i686" \ | ||
| --enable-static \ | ||
| --enable-singlethreaded \ | ||
| --disable-shared \ | ||
| \ | ||
| C_EXTRA_FLAGS="-DWOLFSSL_STATIC_RSA" \ | ||
| || exit $? | ||
|
|
||
| # The second group of options was added when "vanilla" config did not work. | ||
| # A good tool to debug problems is to try wolfssl's client tool, e.g.: | ||
| # examples/client/client -h www.google.com -p 443 -d -x | ||
| # | ||
| # configure has many other options, see ./configure --help | ||
| # --enable-ecc \ | ||
| # --enable-sni \ | ||
| # | ||
| # Also consult "wolfSSL - Embedded SSL Library Product Support Forums" | ||
| # for recent report of users having problems connecting. | ||
|
|
||
| make | ||
|
|
||
| } 2>&1 | tee "$0.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters