diff options
Diffstat (limited to 'system/chipsec')
-rw-r--r-- | system/chipsec/chipsec.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/chipsec/chipsec.SlackBuild b/system/chipsec/chipsec.SlackBuild index 2e1ed5ece9..e12f608ff2 100644 --- a/system/chipsec/chipsec.SlackBuild +++ b/system/chipsec/chipsec.SlackBuild @@ -54,6 +54,10 @@ else LIBDIRSUFFIX="" fi +# Don't have ARCH in the environment when building a kernel module +SLKARCH=$ARCH +unset -v ARCH + set -e rm -rf $PKG @@ -104,4 +108,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$SLKARCH-$BUILD$TAG.${PKGTYPE:-tgz} |