grub: Fix Ryzen issue

This commit is contained in:
Dylan Araps 2020-02-22 00:28:16 +02:00
parent 874d3117e7
commit ec4db0b2d8
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

View File

@ -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