Skip to content
Snippets Groups Projects
Verified Commit 71d86f1f authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Compile bash and curl statically

parent 170392f0
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ function recipe_update { ...@@ -14,7 +14,7 @@ function recipe_update {
function recipe_build { function recipe_build {
sysroot="$PWD/../sysroot" sysroot="$PWD/../sysroot"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib -static"
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
./configure \ ./configure \
......
...@@ -18,7 +18,7 @@ function recipe_update { ...@@ -18,7 +18,7 @@ function recipe_update {
function recipe_build { function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib --static"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
autoreconf -i autoreconf -i
./configure \ ./configure \
...@@ -28,8 +28,10 @@ function recipe_build { ...@@ -28,8 +28,10 @@ function recipe_build {
--disable-ftp \ --disable-ftp \
--disable-ipv6 \ --disable-ipv6 \
--disable-ntlm-wb \ --disable-ntlm-wb \
--disable-shared \
--disable-tftp \ --disable-tftp \
--disable-threaded-resolver \ --disable-threaded-resolver \
--enable-static \
--with-ca-path=/ssl/certs \ --with-ca-path=/ssl/certs \
--with-nghttp2="$sysroot" \ --with-nghttp2="$sysroot" \
--with-ssl="$sysroot" \ --with-ssl="$sysroot" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment