mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-04-18 09:22:15 +02:00
fix(guix-bootstrap): split bootstrap exec xz from static-binaries, use xz 5.0.6, just give it a try to solve problem
This commit is contained in:
parent
3007c9a8dd
commit
39796fd955
5 changed files with 47 additions and 1 deletions
28
steps-guix/xz-5.0.6/pass1.sh
Normal file
28
steps-guix/xz-5.0.6/pass1.sh
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
SEED_PREFIX="/bootstrap-seeds/xz-5.0.6"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Mirror Guix bootstrap static strategy: force libtool-built xz executable
|
||||
# to link with -all-static.
|
||||
sed -i 's/^xz_LDADD =/xz_LDADD = -all-static /' src/xz/Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CFLAGS="${CFLAGS:-} -std=gnu89" \
|
||||
./configure \
|
||||
--prefix="${SEED_PREFIX}" \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-nls
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue