summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
index 3d4913d68e..a9bd900da8 100644
--- a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
+++ b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
@@ -1,4 +1,4 @@
1From 154af50ed7ed8b91838d713052ebf29b0b14f765 Mon Sep 17 00:00:00 2001 1From cc97307e8e39a81999c6a365d057487a02e6128e Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Mon, 18 Jan 2016 11:00:00 -0800 3Date: Mon, 18 Jan 2016 11:00:00 -0800
4Subject: [PATCH] mpers.m4: more robust test for -m32/-mx32 compile support 4Subject: [PATCH] mpers.m4: more robust test for -m32/-mx32 compile support
@@ -18,15 +18,16 @@ detects the limitations of the OE toolchain.
18Upstream-Status: Pending 18Upstream-Status: Pending
19 19
20Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 20Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
21
21--- 22---
22 m4/mpers.m4 | 2 ++ 23 m4/mpers.m4 | 2 ++
23 1 file changed, 2 insertions(+) 24 1 file changed, 2 insertions(+)
24 25
25Index: strace-4.22/m4/mpers.m4 26diff --git a/m4/mpers.m4 b/m4/mpers.m4
26=================================================================== 27index 13725d7..d8578ea 100644
27--- strace-4.22.orig/m4/mpers.m4 28--- a/m4/mpers.m4
28+++ strace-4.22/m4/mpers.m4 29+++ b/m4/mpers.m4
29@@ -108,6 +108,7 @@ case "$arch" in 30@@ -88,6 +88,7 @@ case "$arch" in
30 CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG" 31 CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG"
31 AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc], 32 AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc],
32 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 33 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>
@@ -34,7 +35,7 @@ Index: strace-4.22/m4/mpers.m4
34 int main(){return 0;}]])], 35 int main(){return 0;}]])],
35 [st_cv_cc=yes], 36 [st_cv_cc=yes],
36 [st_cv_cc=no])]) 37 [st_cv_cc=no])])
37@@ -115,6 +116,7 @@ case "$arch" in 38@@ -95,6 +96,7 @@ case "$arch" in
38 AC_CACHE_CHECK([for mpers_name personality runtime support], 39 AC_CACHE_CHECK([for mpers_name personality runtime support],
39 [st_cv_runtime], 40 [st_cv_runtime],
40 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 41 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>