refind: build with -fno-tree-loop-distribute-patterns

Fix build for gcc-10
This commit is contained in:
Đoàn Trần Công Danh 2021-01-18 18:41:09 +07:00
parent 07c47668a0
commit 970ad4f3f4
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,25 @@
From e34a16301f425f273a67ed3abbc45840bc82d892 Mon Sep 17 00:00:00 2001
From: srs5694 <srs5694@users.sourceforge.net>
Date: Fri, 15 May 2020 12:34:14 -0400
Subject: [PATCH] Fix GCC 10 compile problem
---
Make.common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git Make.common Make.common
index 3f0b919..95a3a97 100644
--- Make.common
+++ Make.common
@@ -60,7 +60,7 @@ endif
#
# ...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....
--
2.30.0

View file

@ -1,7 +1,7 @@
# Template file for 'refind'
pkgname=refind
version=0.12.0
revision=2
revision=3
archs="x86_64* i686* aarch64*"
makedepends="gnu-efi-libs"
depends="bash dosfstools efibootmgr"