diff --git a/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/files/make-4.2.1.patch b/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/files/make-4.2.1.patch new file mode 100644 index 000000000..61a3581f4 --- /dev/null +++ b/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/files/make-4.2.1.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 diff --git a/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/make_4.2.1.bbappend b/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/make_4.2.1.bbappend new file mode 100644 index 000000000..e520a3816 --- /dev/null +++ b/recipes-domu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/make_4.2.1.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +# Fix for "glob.c:(.text+0x2c1): undefined reference to `__alloca'" when +# building on Ubuntu 18.04 +# According to: +# https://github.com/osresearch/heads/issues/352 + +SRC_URI += "\ + file://make-4.2.1.patch \ +" \ No newline at end of file