mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
misc/klibc: Fix for exported ARCH variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
137b2e4d93
commit
2bbac7eb5f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue