mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Compile bash and curl statically
This commit is contained in:
parent
170392f03a
commit
71d86f1fe1
@ -14,7 +14,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
sysroot="$PWD/../sysroot"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export LDFLAGS="-L$sysroot/lib -static"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure \
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
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
|
||||
autoreconf -i
|
||||
./configure \
|
||||
@ -28,8 +28,10 @@ function recipe_build {
|
||||
--disable-ftp \
|
||||
--disable-ipv6 \
|
||||
--disable-ntlm-wb \
|
||||
--disable-shared \
|
||||
--disable-tftp \
|
||||
--disable-threaded-resolver \
|
||||
--enable-static \
|
||||
--with-ca-path=/ssl/certs \
|
||||
--with-nghttp2="$sysroot" \
|
||||
--with-ssl="$sysroot" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user