This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
domu: Fix for "glob.c:(.text+0x2c1): undefined reference to `__alloca…
…'" ... ... when building on Ubuntu 18.04 According to: linuxboot/heads#352 Signed-off-by: Oleksandr Tyshchenko <[email protected]>
- Loading branch information
Oleksandr Tyshchenko
committed
Dec 11, 2019
1 parent
171bd69
commit d735b0c
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.../domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/files/make-4.2.1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
10 changes: 10 additions & 0 deletions
10
...omu/domu-image-android/files/meta-xt-prod-extra/recipes-devtools/make/make_4.2.1.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 \ | ||
" |