mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-06 11:02:53 +00:00
Upgraded mtdev from 1.1.6 to 1.1.7
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# mtdev
|
# mtdev
|
||||||
# Source: http://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2
|
# Source: https://bitmath.org/code/mtdev/mtdev-1.1.7.tar.bz2
|
||||||
#
|
#
|
||||||
# $BUILD = Directory to temporarily install
|
# $BUILD = Directory to temporarily install
|
||||||
# $PKGS = Directory to store built packages
|
# $PKGS = Directory to store built packages
|
||||||
@ -16,8 +16,6 @@ export CFLAGS="-march=native -pipe "
|
|||||||
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
|
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
|
||||||
export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
|
export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
|
||||||
|
|
||||||
cp -v ../files/config.sub-musl config-aux/config.sub &&
|
|
||||||
cp -v ../files/config.guess-musl config-aux/config.guess &&
|
|
||||||
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
|
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
|
||||||
read -p "Compile?" && make -j2 &&
|
read -p "Compile?" && make -j2 &&
|
||||||
sudo -S make DESTDIR=$BUILD install &&
|
sudo -S make DESTDIR=$BUILD install &&
|
||||||
@ -45,5 +43,5 @@ mtdev: seamless MT protocol handling is available under a free license.
|
|||||||
mtdev:
|
mtdev:
|
||||||
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/mtdev-1.1.6-$(uname -m)-mlfs.txz &&
|
sudo -S makepkg -l y -c n $PKGS/mtdev-1.1.7-${PSUFFIX} &&
|
||||||
sudo -S rm -rf ${BUILD}/*
|
sudo -S rm -rf ${BUILD}/*
|
||||||
|
Reference in New Issue
Block a user