diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-05-02 18:41:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:17:58 +0100 |
commit | da1f0ef640565b3857beac5781d8600b924fc74f (patch) | |
tree | 4c50552f3c792c467ff0d18e9e228478249287e6 /meta/recipes-support/libmpc/libmpc | |
parent | c4dde062bd01e58095e03ebcefabffa6773228b6 (diff) | |
download | poky-da1f0ef640565b3857beac5781d8600b924fc74f.tar.gz |
libmpc: fix build with automake 1.12
(From OE-Core rev: 7a667811afb3ce7178ee7050973a5c2c854405eb)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libmpc/libmpc')
-rw-r--r-- | meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch b/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..75fa28e338 --- /dev/null +++ b/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | this fix avoids this error with automake 1.12 | ||
4 | |||
5 | | automake: warnings are treated as errors | ||
6 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libmpc.la': linking libtool libraries using a non-POSIX | ||
7 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' | ||
8 | |||
9 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
10 | 2012/05/02 | ||
11 | |||
12 | Index: mpc-0.8.2/configure.ac | ||
13 | =================================================================== | ||
14 | --- mpc-0.8.2.orig/configure.ac | ||
15 | +++ mpc-0.8.2/configure.ac | ||
16 | @@ -86,6 +86,10 @@ AC_PROG_EGREP | ||
17 | AC_PROG_SED | ||
18 | AC_LANG(C) | ||
19 | |||
20 | +# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it | ||
21 | +m4_pattern_allow([AM_PROG_AR]) | ||
22 | +AM_PROG_AR | ||
23 | + | ||
24 | dnl Check for GMP CFLAGS in gmp.h | ||
25 | if test -z "$user_redefine_cc" ; then | ||
26 | MPC_GMP_CC_CFLAGS | ||