mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-20 14:31:47 +00:00
Upgraded libbytesize to 2.6
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# libbytesize
|
# libbytesize
|
||||||
# Source: https://github.com/storaged-project/libbytesize/releases/download/2.4/libbytesize-2.4.tar.gz
|
# Source: https://github.com/storaged-project/libbytesize/releases/download/2.6/libbytesize-2.6.tar.gz
|
||||||
#
|
#
|
||||||
# $BUILD = Directory to temporarily install
|
# $BUILD = Directory to temporarily install
|
||||||
# $PKGS = Directory to store built packages
|
# $PKGS = Directory to store built packages
|
||||||
@ -11,6 +11,12 @@
|
|||||||
# Recommended: NONE
|
# Recommended: NONE
|
||||||
# Optional: GTK-Doc, six
|
# Optional: GTK-Doc, six
|
||||||
|
|
||||||
|
# If coptimizing with GCC:
|
||||||
|
export CFLAGS="-march=native -pipe "
|
||||||
|
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
|
||||||
|
export CXXFLAGS=$CFLAGS
|
||||||
|
export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
|
||||||
|
|
||||||
./configure --prefix=/usr $BUILDTRUPLE --with-python3 &&
|
./configure --prefix=/usr $BUILDTRUPLE --with-python3 &&
|
||||||
read -p "Compile?" && make -j2 &&
|
read -p "Compile?" && make -j2 &&
|
||||||
|
|
||||||
@ -39,5 +45,5 @@ libbytesize:
|
|||||||
libbytesize:
|
libbytesize:
|
||||||
EOF
|
EOF
|
||||||
sudo -S mv -v /tmp/slack-desc install/ &&
|
sudo -S mv -v /tmp/slack-desc install/ &&
|
||||||
sudo -S makepkg -l y -c n $PKGS/libbytesize-2.4-$(uname -m)-mlfs.txz &&
|
sudo -S makepkg -l y -c n $PKGS/libbytesize-2.6-$(uname -m)-mlfs.txz &&
|
||||||
sudo -S rm -rf ${BUILD}/*
|
sudo -S rm -rf ${BUILD}/*
|
||||||
|
Reference in New Issue
Block a user