aboutsummaryrefslogtreecommitdiff
path: root/networking/ssl_helper-wolfssl/ssl_helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ssl_helper-wolfssl/ssl_helper.sh')
-rwxr-xr-xnetworking/ssl_helper-wolfssl/ssl_helper.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/ssl_helper-wolfssl/ssl_helper.sh b/networking/ssl_helper-wolfssl/ssl_helper.sh
index ddb4536c7..184ffe67e 100755
--- a/networking/ssl_helper-wolfssl/ssl_helper.sh
+++ b/networking/ssl_helper-wolfssl/ssl_helper.sh
@@ -1,11 +1,12 @@
#!/bin/sh
# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
-PREFIX=x86_64-
-STATIC=-static
+PREFIX="i686-"
+STATIC="-static"
# Standard build:
#PREFIX=""
#STATIC=""
${PREFIX}gcc -Os -Wall -I.. -c ssl_helper.c -o ssl_helper.o
${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm ../src/.libs/libwolfssl.a --end-group -o ssl_helper
+${PREFIX}-strip ssl_helper