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.patch22
1 files changed, 10 insertions, 12 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 756cd8bb82..3d4913d68e 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
@@ -22,25 +22,23 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
22 m4/mpers.m4 | 2 ++ 22 m4/mpers.m4 | 2 ++
23 1 file changed, 2 insertions(+) 23 1 file changed, 2 insertions(+)
24 24
25diff --git a/m4/mpers.m4 b/m4/mpers.m4 25Index: strace-4.22/m4/mpers.m4
26index 1fe8a8e..d72c717 100644 26===================================================================
27--- a/m4/mpers.m4 27--- strace-4.22.orig/m4/mpers.m4
28+++ b/m4/mpers.m4 28+++ strace-4.22/m4/mpers.m4
29@@ -53,12 +53,14 @@ case "$arch" in 29@@ -108,6 +108,7 @@ case "$arch" in
30 CFLAGS="$CFLAGS CFLAG $IFLAG" 30 CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG"
31 AC_CACHE_CHECK([for CFLAG compile support], [st_cv_cc], 31 AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc],
32 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 32 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>
33+ #include <sys/syscall.h> 33+ #include <sys/syscall.h>
34 int main(){return 0;}]])], 34 int main(){return 0;}]])],
35 [st_cv_cc=yes], 35 [st_cv_cc=yes],
36 [st_cv_cc=no])]) 36 [st_cv_cc=no])])
37 if test $st_cv_cc = yes; then 37@@ -115,6 +116,7 @@ case "$arch" in
38 AC_CACHE_CHECK([for CFLAG runtime support], [st_cv_runtime], 38 AC_CACHE_CHECK([for mpers_name personality runtime support],
39 [st_cv_runtime],
39 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 40 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>
40+ #include <sys/syscall.h> 41+ #include <sys/syscall.h>
41 int main(){return 0;}]])], 42 int main(){return 0;}]])],
42 [st_cv_runtime=yes], 43 [st_cv_runtime=yes],
43 [st_cv_runtime=no], 44 [st_cv_runtime=no],
44--
451.9.1
46