forked from kiss-community/repo
efivar: fix build when CFLAGS unset. #220
This commit is contained in:
parent
44e81f6fe3
commit
b91421ec8b
@ -1,5 +1,10 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# LTO is used when CFLAGS are unset causing a compilation
|
||||
# error with GCC 10. LTO can be set by the user though
|
||||
# '-flto-partition=none' is also needed.
|
||||
sed -i 's/ -flto//' Make.defaults
|
||||
|
||||
for patch in *.patch; do
|
||||
patch -p1 < "$patch"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user