forked from kiss-community/repo
grub: drop KISS_ROOT usage
This commit is contained in:
parent
077cfc7697
commit
157fea4966
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user