grub: drop KISS_ROOT usage

This commit is contained in:
illiliti 2022-03-28 13:45:32 +03:00 committed by Wolf Gupta
parent 077cfc7697
commit 157fea4966
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
# ever worked to build Grub.
{
mkdir -p .bin
ln -s "$KISS_ROOT/usr/bin/ld.bfd" .bin/ld
bfd_path=$(command -v ld.bfd)
ln -s "${bfd_path:?}" .bin/ld
export PATH=$PWD/.bin:$PATH
# Strip '-B<path>mold' and '--ld-path=<path>mold' from CFLAGS.