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>
This commit is contained in:
parent
da33b75e7d
commit
f47c32a12d
|
@ -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
|
Loading…
Reference in New Issue