mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 02:52:32 +01:00
18 lines
437 B
Diff
18 lines
437 B
Diff
Upstream: Should be
|
|
Reason: Fixes compilation with gcc-10
|
|
|
|
Taken from Gentoo Linux https://bugs.gentoo.org/723244
|
|
|
|
--- 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....
|
|
|