summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Anderson <telans@posteo.de>2020-11-27 23:51:00 +1300
committerJoonas Niilola <juippis@gentoo.org>2020-12-07 09:30:20 +0200
commit1aa0c940ee1fc5a5efc5800ee69f676e3710d24a (patch)
tree938cc35c6b92dd8f0bbe26c69457a45867aa8435 /sys-boot/refind/files
parentapp-misc/trash-cli: add psutil as test dep (diff)
downloadgentoo-1aa0c940ee1fc5a5efc5800ee69f676e3710d24a.tar.gz
gentoo-1aa0c940ee1fc5a5efc5800ee69f676e3710d24a.tar.bz2
gentoo-1aa0c940ee1fc5a5efc5800ee69f676e3710d24a.zip
sys-boot/refind: add GCC 10 patch / custom-cflags fix
Closes: https://bugs.gentoo.org/723244 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-boot/refind/files')
-rw-r--r--sys-boot/refind/files/refind-0.12.0-gcc10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-boot/refind/files/refind-0.12.0-gcc10.patch b/sys-boot/refind/files/refind-0.12.0-gcc10.patch
new file mode 100644
index 000000000000..1f2e2bc0a5de
--- /dev/null
+++ b/sys-boot/refind/files/refind-0.12.0-gcc10.patch
@@ -0,0 +1,11 @@
+--- a/Make.common
++++ b/Make.common
+@@ -60,7 +60,7 @@
+ #
+
+ # ...for both GNU-EFI and TianoCore....
+-OPTIMFLAGS = -Os -fno-strict-aliasing
++OPTIMFLAGS = -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns
+ CFLAGS = $(OPTIMFLAGS) -fno-stack-protector -fshort-wchar -Wall
+
+ # ...for GNU-EFI....