diff options
Diffstat (limited to 'meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch')
-rw-r--r-- | meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch b/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch new file mode 100644 index 0000000000..6b167c8421 --- /dev/null +++ b/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 69c3906c85c791716bf650aa36d9361d22acf3fb Mon Sep 17 00:00:00 2001 | ||
2 | From: sweeaun <swee.aun.khor@intel.com> | ||
3 | Date: Thu, 6 Jul 2017 16:32:46 -0700 | ||
4 | Subject: [PATCH] libffi: Support musl x32 build | ||
5 | |||
6 | Support libffi build with target musl-x32. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: sweeaun <swee.aun.khor@intel.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index a7bf5ee..8ebe99c 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -177,7 +177,7 @@ case "$host" in | ||
20 | TARGETDIR=x86 | ||
21 | if test $ac_cv_sizeof_size_t = 4; then | ||
22 | case "$host" in | ||
23 | - *-gnux32) | ||
24 | + *-gnux32 | *-muslx32) | ||
25 | TARGET=X86_64 | ||
26 | ;; | ||
27 | *) | ||
28 | -- | ||
29 | 2.7.4 | ||
30 | |||