aboutsummaryrefslogtreecommitdiff
path: root/networking/ssl_helper-wolfssl/00cfg-wolfssl-3.6.8
blob: 50b6102d9ecda10ef96f1f8aac9ff8f42d93a398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# How to configure & build a static wolfssl-3.6.8 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 \
|| exit $?

make