diff options
| -rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-support/gmp/gmp_6.1.2.bb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index abac8cf339..948b89288e 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc | |||
| @@ -3,7 +3,7 @@ DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operati | |||
| 3 | HOMEPAGE = "http://gmplib.org/" | 3 | HOMEPAGE = "http://gmplib.org/" |
| 4 | SECTION = "devel" | 4 | SECTION = "devel" |
| 5 | 5 | ||
| 6 | inherit autotools texinfo | 6 | inherit autotools texinfo multilib_header |
| 7 | 7 | ||
| 8 | PACKAGECONFIG ??= "" | 8 | PACKAGECONFIG ??= "" |
| 9 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | 9 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" |
diff --git a/meta/recipes-support/gmp/gmp_6.1.2.bb b/meta/recipes-support/gmp/gmp_6.1.2.bb index b008710d0f..c745dbbfe7 100644 --- a/meta/recipes-support/gmp/gmp_6.1.2.bb +++ b/meta/recipes-support/gmp/gmp_6.1.2.bb | |||
| @@ -25,6 +25,10 @@ EXTRA_OECONF_mipsarchr6_append = " --disable-assembly" | |||
| 25 | PACKAGES =+ "libgmpxx" | 25 | PACKAGES =+ "libgmpxx" |
| 26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | 26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" |
| 27 | 27 | ||
| 28 | do_install_append() { | ||
| 29 | oe_multilib_header gmp.h | ||
| 30 | } | ||
| 31 | |||
| 28 | do_install_prepend_class-target() { | 32 | do_install_prepend_class-target() { |
| 29 | sed -i \ | 33 | sed -i \ |
| 30 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ | 34 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ |
