From 157fea4966f5207fd276a4e8c472df65757c17e8 Mon Sep 17 00:00:00 2001 From: illiliti Date: Mon, 28 Mar 2022 13:45:32 +0300 Subject: [PATCH] grub: drop KISS_ROOT usage --- core/grub/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/grub/build b/core/grub/build index 74a562bc..1cc1a208 100755 --- a/core/grub/build +++ b/core/grub/build @@ -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 '-Bmold' and '--ld-path=mold' from CFLAGS.