diff options
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.patch | 10 |
1 files changed, 4 insertions, 6 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 a9bd900da8..ae22105cbe 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 | |||
@@ -23,19 +23,17 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
23 | m4/mpers.m4 | 2 ++ | 23 | m4/mpers.m4 | 2 ++ |
24 | 1 file changed, 2 insertions(+) | 24 | 1 file changed, 2 insertions(+) |
25 | 25 | ||
26 | diff --git a/m4/mpers.m4 b/m4/mpers.m4 | ||
27 | index 13725d7..d8578ea 100644 | ||
28 | --- a/m4/mpers.m4 | 26 | --- a/m4/mpers.m4 |
29 | +++ b/m4/mpers.m4 | 27 | +++ b/m4/mpers.m4 |
30 | @@ -88,6 +88,7 @@ case "$arch" in | 28 | @@ -103,6 +103,7 @@ case "$arch" in |
31 | CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG" | 29 | CFLAGS="$CFLAGS MPERS_CFLAGS${IFLAG:+ }$IFLAG" |
32 | AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc], | 30 | AC_CACHE_CHECK([for mpers_name personality compile support (using $CC $CFLAGS)], [st_cv_cc], |
33 | [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> | 31 | [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> |
34 | + #include <sys/syscall.h> | 32 | + #include <sys/syscall.h> |
35 | int main(){return 0;}]])], | 33 | int main(){return 0;}]])], |
36 | [st_cv_cc=yes], | 34 | [st_cv_cc=yes], |
37 | [st_cv_cc=no])]) | 35 | [st_cv_cc=no])]) |
38 | @@ -95,6 +96,7 @@ case "$arch" in | 36 | @@ -110,6 +111,7 @@ case "$arch" in |
39 | AC_CACHE_CHECK([for mpers_name personality runtime support], | 37 | AC_CACHE_CHECK([for mpers_name personality runtime support], |
40 | [st_cv_runtime], | 38 | [st_cv_runtime], |
41 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> | 39 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> |