aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2020-12-09 14:13:07 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:57:07 -0500
commitb10c9c36c8f2982f56c21ab262d63e697ac17d00 (patch)
tree1ec82ec1d8aa84164f09c2efc4090d3cb1d3e754
parent4afeb0054f9951d2992f14a6a06c0d03eff51954 (diff)
system/rEFInd: Fix for gcc-10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/rEFInd/rEFInd.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/rEFInd/rEFInd.SlackBuild b/system/rEFInd/rEFInd.SlackBuild
index 9046b5f8fa67b..4388d55d0726b 100644
--- a/system/rEFInd/rEFInd.SlackBuild
+++ b/system/rEFInd/rEFInd.SlackBuild
@@ -62,6 +62,9 @@ else
REFIND_SUFFIX=ia32
fi
sed -i '/^EFICRT0/ s/$/\/gnuefi/' Make.common
+
+sed -i 's|no-strict-aliasing|no-strict-aliasing -fno-tree-loop-distribute-patterns|' Make.common
+
make all_gnuefi
REFIND_SHARE_DIR=$PKG/usr/share/$PRGNAM-$VERSION
mkdir -p $PKG/usr/sbin