diff options
author | Kyle Guinn <elyk03@gmail.com> | 2016-02-22 22:08:45 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:53 +0700 |
commit | e7aef2b46b2ec998171273809b1a9d83774987e9 (patch) | |
tree | 74a65f43b2e7edee592bfa8c82bfb292bdd68fdd /system/memtest86 | |
parent | bfefd730251c62ba3c26a5992ca0e9c68a71e64c (diff) |
system/memtest86: Fixed for newer GCC
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'system/memtest86')
-rw-r--r-- | system/memtest86/memtest86.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/system/memtest86/memtest86.SlackBuild b/system/memtest86/memtest86.SlackBuild index 51fde68fe2f63..303fd0eba9487 100644 --- a/system/memtest86/memtest86.SlackBuild +++ b/system/memtest86/memtest86.SlackBuild @@ -2,7 +2,7 @@ # 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. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=memtest86 VERSION=${VERSION:-4.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # 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 cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -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 {} \; +chmod -R u+w,go-w,a+rX-st . -make +make CC="gcc -fgnu89-inline" install -D -m 0644 memtest.bin $PKG/boot/memtest86.bin mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |