From f47c32a12d778c6e4f8cd93cfe1f83d2ca2bb9be Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 29 Sep 2019 22:46:48 -0600 Subject: util/crossgcc: Add patch for __alloca missing on ubuntu 18.04 Bring this over from the HEADS repo. Signed-off-by: Martin Roth Change-Id: I36dc9860f4c4a2675fd3fa24fa3e534215ceb43e Reviewed-on: https://review.coreboot.org/c/coreboot/+/35724 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/crossgcc/patches/make-4.2.1_alloca.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 util/crossgcc/patches/make-4.2.1_alloca.patch (limited to 'util') 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 -- cgit v1.2.3