mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 15:02:27 +00:00
grub: Fix Ryzen issue
This commit is contained in:
parent
07ff567786
commit
874d3117e7
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# Strip '-march' from 'CFLAGS' as per advice from upstream.
|
# Strip '-march' from 'CFLAGS' as per advice from upstream.
|
||||||
# Fixes build fails on specific hardware.
|
# Fixes build fails on specific hardware.
|
||||||
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=\w* //g')
|
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]* //g')
|
||||||
|
export CFLAGS
|
||||||
|
|
||||||
# Grub is built in a function so the script argument
|
# Grub is built in a function so the script argument
|
||||||
# needs to be stored.
|
# needs to be stored.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user