Skip to contentSkip to conversation

Fix TianoCore building under Fedora Core 25

PATCH Superseded Konrad Rzeszutek Wilk 1 participant 2 messages Nov 21, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix TianoCore building under Fedora Core 25

Please accept and review the following patch which enables me to build TianoCore under Fedora Core 25.

The GCC version that is installed is:

gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And currently there are no runes for it - which means it fallsback to GCC44 and does not complete.

The patch fixes that.

Thanks!

Konrad Rzeszutek Wilk (1):
OvmfPkg/build.sh: Use GCC49 toolchain with GCC 6.*

 OvmfPkg/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw

PATCH 1/1 OvmfPkg/build.sh: Use GCC49 toolchain with GCC 6.*

Without this I cannot build it under Fedora Core 25.

Contributed-under: TianoCore Contribution Agreement 1.0

---
 OvmfPkg/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
OvmfPkg/build.sh +1 -1
index eb5eb73..759ade3 100755
@@ -95,7 +95,7 @@ case `uname` in
       4.8.*)
         TARGET_TOOLS=GCC48
         ;;
-      4.9.*|4.1[0-9].*|5.*.*)
+      4.9.*|4.1[0-9].*|5.*.*|6.*.*)
         TARGET_TOOLS=GCC49
         ;;
       *)
Signature · 7 lines
2.9.3


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel