tce-load -i compiletc clang nasm mtools coreutils glibc_gconv

wget https://github.com/Limine-Bootloader/Limine/releases/download/v12.9.6/limine-12.9.6.tar.xz

cd limine-12.9.6

LD_FOR_TARGET=ld  ./configure --prefix=/usr/local --localstatedir=/var --enable-bios --enable-bios-cd --enable-bios-pxe --enable-uefi-ia32 --enable-uefi-x86-64 --enable-uefi-cd

find . -name GNUmakefile -type f -exec sed -i 's/-g -O2 pipe/-mtune=generic -Os -pipe/g' {} \;
find . -name GNUmakefile -type f -exec sed -i 's/-g -O2/-mtune=generic -Os/g' {} \;
find . -name GNUmakefile -type f -exec sed -i 's/-g//g' {} \;

make [1m 18.90s]
sudo make install
