mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
system/memtest86: Fixed for newer GCC
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
parent
bfefd73025
commit
e7aef2b46b
1 changed files with 4 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for memtest86
|
# Slackware build script for memtest86
|
||||||
|
|
||||||
# Copyright 2012-2013 Kyle Guinn <elyk03@gmail.com>, USA
|
# Copyright 2012-2016 Kyle Guinn <elyk03@gmail.com>, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=memtest86
|
PRGNAM=memtest86
|
||||||
VERSION=${VERSION:-4.1.0}
|
VERSION=${VERSION:-4.1.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# i486 only. Modify the Makefile at your own risk :-)
|
# i486 only. Modify the Makefile at your own risk :-)
|
||||||
|
@ -46,13 +46,9 @@ rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
chmod -R u+w,go-w,a+rX-st .
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
|
||||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
|
||||||
|
|
||||||
make
|
make CC="gcc -fgnu89-inline"
|
||||||
install -D -m 0644 memtest.bin $PKG/boot/memtest86.bin
|
install -D -m 0644 memtest.bin $PKG/boot/memtest86.bin
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
Loading…
Reference in a new issue