summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/files/configure.patch
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-03-14 16:39:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 14:37:45 +0000
commit35c4c79fa423715c8aaf9a6db0f18bee700af457 (patch)
treede2965ce603b7ca72668413ec4c45dc77873eb46 /meta/recipes-extended/at/files/configure.patch
parentc5d196063dace7842d24db0a2bafd99e726603da (diff)
downloadpoky-35c4c79fa423715c8aaf9a6db0f18bee700af457.tar.gz
at: upgrade to 3.1.13
Moved patches into a common directory. Added SOB to use-ldflags.patch. Removed nonstripbinaries patch which was included in this release. Minor formatting cleanups. (From OE-Core rev: 768eb8e8590e3b9cc033d8544a01ae34d3ed16b1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/at/files/configure.patch')
-rw-r--r--meta/recipes-extended/at/files/configure.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/files/configure.patch b/meta/recipes-extended/at/files/configure.patch
new file mode 100644
index 0000000000..14310e3354
--- /dev/null
+++ b/meta/recipes-extended/at/files/configure.patch
@@ -0,0 +1,29 @@
1
2Fix cross-compilation issues in configure.ac
3Derived from an OE patch for at-3.1.8
4
5Upstream-Status: Pending
6
7Signed-off-by: Scott Garman <scott.a.garman@intel.com>
8
9Index: at-3.1.12/configure.ac
10===================================================================
11--- at-3.1.12.orig/configure.ac
12+++ at-3.1.12/configure.ac
13@@ -38,12 +38,11 @@ case "$host" in
14 AC_MSG_RESULT(no)
15 ;;
16 esac
17+if [ X"${cross_compiling}" = Xno ]; then
18 AC_MSG_CHECKING(Trying to compile a trivial ANSI C program)
19-AC_TRY_RUN([ main(int ac, char **av) { return 0; } ],
20- AC_MSG_RESULT(yes),
21- AC_MSG_RESULT(no)
22- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.),
23- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.))
24+AC_RUN_IFELSE([AC_LANG_SOURCE([[ main(int ac, char **av) { return 0; } ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
25+ AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)],[AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)])
26+fi
27
28 AC_MSG_CHECKING(__attribute__((noreturn)))
29 AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);],