diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-12-27 11:51:31 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:02 +0700 |
commit | 2bbac7eb5fa10d62ad0eebcf2749a1b3b456d89e (patch) | |
tree | 919e057e08116508182c3d81535f093d09f2c8bc /misc/klibc | |
parent | 137b2e4d93c26b3c015d46a186534717a102d819 (diff) | |
download | slackbuilds-2bbac7eb5fa10d62ad0eebcf2749a1b3b456d89e.tar.gz |
misc/klibc: Fix for exported ARCH variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/klibc')
-rw-r--r-- | misc/klibc/klibc.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/klibc/klibc.SlackBuild b/misc/klibc/klibc.SlackBuild index 73280c99a9..d04bbcc88a 100644 --- a/misc/klibc/klibc.SlackBuild +++ b/misc/klibc/klibc.SlackBuild @@ -80,8 +80,8 @@ fi # Thanks to the gentoo team for the patch. patch -p1 < $CWD/klibc-2.0.3-kernel-uapi.patch -KLIBCKERNELSRC=/lib/modules/$KERNEL/source HOSTCFLAGS=$SLKCFLAGS make -KLIBCKERNELSRC=/lib/modules/$KERNEL/source make install INSTALLROOT=$PKG +env -u ARCH KLIBCKERNELSRC=/lib/modules/$KERNEL/source HOSTCFLAGS="$SLKCFLAGS" make +env -u ARCH KLIBCKERNELSRC=/lib/modules/$KERNEL/source make install INSTALLROOT=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |