commit changes
This commit is contained in:
18
stage/toolchain/xz.bash
Normal file
18
stage/toolchain/xz.bash
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
fetch $XZ_URL
|
||||
|
||||
cd "$SOURCES" && tar xf xz-$XZ_VERSION.tar.xz && cd xz-$XZ_VERSION
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--host=$TARGET \
|
||||
--build=$(build-aux/config.guess) \
|
||||
--disable-static \
|
||||
--silent \
|
||||
--quiet
|
||||
|
||||
make && make DESTDIR="$SYSROOT" install
|
||||
|
||||
rm "$SYSROOT"/usr/lib/liblzma.la
|
||||
|
||||
cd "$SOURCES" && rm -rf xz-$XZ_VERSION
|
||||
Reference in New Issue
Block a user