From ec4db0b2d88644746f779259ad7d12c8ae84a0a3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 22 Feb 2020 00:28:16 +0200 Subject: [PATCH] grub: Fix Ryzen issue --- core/grub/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/grub/build b/core/grub/build index 01d9b46c..46b057c1 100755 --- a/core/grub/build +++ b/core/grub/build @@ -2,7 +2,7 @@ # Strip '-march' from 'CFLAGS' as per advice from upstream. # Fixes build fails on specific hardware. -CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]* //g') +CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g') export CFLAGS # Grub is built in a function so the script argument