summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2019-09-29 22:46:48 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2019-10-03 02:06:30 +0000
commitf47c32a12d778c6e4f8cd93cfe1f83d2ca2bb9be (patch)
treefe77ad4c6f2acbecdb32a667366af3a3daec3acb /util/crossgcc
parentda33b75e7dfcd74dfa5b3d9bdd5869c546101ac3 (diff)
downloadcoreboot-f47c32a12d778c6e4f8cd93cfe1f83d2ca2bb9be.tar.xz
util/crossgcc: Add patch for __alloca missing on ubuntu 18.04
Bring this over from the HEADS repo. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I36dc9860f4c4a2675fd3fa24fa3e534215ceb43e Reviewed-on: https://review.coreboot.org/c/coreboot/+/35724 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/crossgcc')
-rw-r--r--util/crossgcc/patches/make-4.2.1_alloca.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/crossgcc/patches/make-4.2.1_alloca.patch b/util/crossgcc/patches/make-4.2.1_alloca.patch
new file mode 100644
index 0000000000..61a3581f4a
--- /dev/null
+++ b/util/crossgcc/patches/make-4.2.1_alloca.patch
@@ -0,0 +1,11 @@
+--- clean/make-4.2/glob/glob.c 2013-10-20 17:14:38.000000000 +0000
++++ make-4.2/glob/glob.c 2018-09-18 10:16:03.860886356 +0000
+@@ -208,7 +208,7 @@
+ #endif /* __GNU_LIBRARY__ || __DJGPP__ */
+
+
+-#if !defined __alloca && !defined __GNU_LIBRARY__
++#if !defined __alloca && defined __GNU_LIBRARY__
+
+ # ifdef __GNUC__
+ # undef alloca