diff options
author | Leah Rowe <leah@libreboot.org> | 2022-11-19 03:33:38 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2022-11-19 03:33:38 +0000 |
commit | 60793c552fa0eb1066adcf5e8eec3d5a4bcb7efd (patch) | |
tree | 3867f9fff8b6e298d66d7c411296bb58c76a8bcb /resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch | |
parent | 6114c34988d9f5768aac0b56cc4137ebaad81fd4 (diff) |
fix gnat build issue on coreboot repositories
backported from newer coreboot revisions, see patch
coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch
Diffstat (limited to 'resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch')
-rw-r--r-- | resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch b/resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch new file mode 100644 index 00000000..b99a912d --- /dev/null +++ b/resources/coreboot/default/patches/0014-coreboot-default-fix-crossgcc-build.patch @@ -0,0 +1,57 @@ +From 9837b542ee2ff56032950b211e60e1e180343f44 Mon Sep 17 00:00:00 2001 +From: Leah Rowe <leah@libreboot.org> +Date: Sat, 19 Nov 2022 03:30:34 +0000 +Subject: [PATCH 14/14] coreboot/default: fix crossgcc build + +patch copied from +coreboot f9b5665d280faa35c6b41fe0c48a9e9e1afd634b +--- + util/crossgcc/patches/gcc-11.2.0_gnat.patch | 32 ++++++++++++++++++++- + 1 file changed, 31 insertions(+), 1 deletion(-) + +diff --git a/util/crossgcc/patches/gcc-11.2.0_gnat.patch b/util/crossgcc/patches/gcc-11.2.0_gnat.patch +index 2d7cecee24..c22cec45d0 100644 +--- a/util/crossgcc/patches/gcc-11.2.0_gnat.patch ++++ b/util/crossgcc/patches/gcc-11.2.0_gnat.patch +@@ -5,7 +5,37 @@ + + # Extra flags to pass to recursive makes. + -COMMON_ADAFLAGS= -gnatpg +-+COMMON_ADAFLAGS= -gnatpg -gnatwGUR +++COMMON_ADAFLAGS= -gnatpg -gnatwn + ifeq ($(TREECHECKING),) + CHECKING_ADAFLAGS= + else ++diff -Nurp gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in ++--- gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:31:57.993273717 +0200 +++++ gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:30:50.214166847 +0200 ++@@ -334,6 +334,7 @@ GNAT_ADA_OBJS = \ ++ ada/hostparm.o \ ++ ada/impunit.o \ ++ ada/inline.o \ +++ ada/libgnat/i-c.o \ ++ ada/libgnat/interfac.o \ ++ ada/itypes.o \ ++ ada/krunch.o \ ++@@ -364,7 +365,10 @@ GNAT_ADA_OBJS = \ ++ ada/rtsfind.o \ ++ ada/libgnat/s-addope.o \ ++ ada/libgnat/s-addima.o \ +++ ada/libgnat/s-aotase.o \ ++ ada/libgnat/s-assert.o \ +++ ada/libgnat/s-atoope.o \ +++ ada/libgnat/s-atopri.o \ ++ ada/libgnat/s-bitops.o \ ++ ada/libgnat/s-carun8.o \ ++ ada/libgnat/s-casuti.o \ ++@@ -548,6 +552,7 @@ GNATBIND_OBJS = \ ++ ada/hostparm.o \ ++ ada/init.o \ ++ ada/initialize.o \ +++ ada/libgnat/i-c.o \ ++ ada/libgnat/interfac.o \ ++ ada/krunch.o \ ++ ada/lib.o \ +-- +2.25.1 + |