← Commit list

78fb6ea63

Denys Vlasenko
Denys Vlasenko
2015-10-07
SUCCESS Duration: 182s

Subject

ssl_helper: tweaks discovered while building 32-bit version

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ssl_helper-wolfssl/00cfg-wolfssl-3.6.8+2 -2
@@ -3,7 +3,7 @@
# How to configure & build a static wolfssl-3.6.8 library
# suitable for static build of ssl_helper.
-export CC="x86_64-gcc"
+export CC="i686-gcc"
export CFLAGS="\
-Os \
-static \
@@ -13,10 +13,10 @@ export CFLAGS="\
"
./configure \
+ --host=i686 \
--enable-static \
--enable-singlethreaded \
--disable-shared \
|| exit $?
make
-exit $?
networking/ssl_helper-wolfssl/README+5 -0
@@ -1,3 +1,8 @@
+A small SSL helper for busybox wget.
+
+Precompiled static binary may be found in
+http://busybox.net/downloads/binaries/
+
Build instructions:
* Unpack wolfssl-3.6.8.zip
networking/ssl_helper-wolfssl/ssl_helper.sh+3 -2
@@ -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