更新 toolchain/build.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-03-23 01:44:58 +08:00
parent 8d490d33eb
commit fdd9627f5f

View File

@ -11,6 +11,9 @@ cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
# x86 - disable mitigations
sed -i 's/noinitrd/noinitrd mitigations=off/g' target/linux/x86/image/grub-efi.cfg
# gcc15 patches
curl -s $Github/gcc-15/202-toolchain-gcc-add-support-for-GCC-15.patch | patch -p1