mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-20 14:31:47 +00:00
Upgraded itstool to 2.0.7
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
# itstool
|
||||
# Source: http://files.itstool.org/itstool/itstool-2.0.6.tar.bz2
|
||||
# Source: http://files.itstool.org/itstool/itstool-2.0.7.tar.bz2
|
||||
#
|
||||
# $BUILD = Directory to temporarily install
|
||||
# $PKGS = Directory to store built packages
|
||||
@ -17,6 +17,8 @@ export CFLAGS="-march=native "
|
||||
export CFLAGS+="O2 -g -Wp,-D_FORTIFY_SOURCE=2 -fexceptions "
|
||||
export CFLAGS+="-fstack-protector --param=ssp-buffer-size=32 "
|
||||
export CFLAGS+="-Wformat -Wformat-security -Wno-error -Wl,-z,max-page-size=0x1000 "
|
||||
export CXXFLAGS=$CFLAGS
|
||||
unset LDFLAGS
|
||||
|
||||
patch -Np1 -i ../patches/itstool-alpine/fix-segfault.patch &&
|
||||
PYTHON=/usr/bin/python3 ./configure --prefix=/usr $BUILDTRUPLE &&
|
||||
@ -47,5 +49,5 @@ itstool:
|
||||
itstool:
|
||||
EOF
|
||||
sudo -S mv -v /tmp/slack-desc install/ &&
|
||||
sudo -S makepkg -l y -c n $PKGS/itstool-2.0.6-$(uname -m)-mlfs.txz &&
|
||||
sudo -S makepkg -l y -c n $PKGS/itstool-2.0.7-$(uname -m)-mlfs.txz &&
|
||||
sudo -S rm -rf ${BUILD}/*
|
||||
|
Reference in New Issue
Block a user