diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.1.2.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.1.2.bb b/meta/recipes-support/gmp/gmp_6.1.2.bb index 5e65075585..b008710d0f 100644 --- a/meta/recipes-support/gmp/gmp_6.1.2.bb +++ b/meta/recipes-support/gmp/gmp_6.1.2.bb | |||
@@ -25,8 +25,11 @@ 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_class-target() { | 28 | do_install_prepend_class-target() { |
29 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | 29 | sed -i \ |
30 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ | ||
31 | -e "s|${DEBUG_PREFIX_MAP}||g" \ | ||
32 | ${B}/gmp.h | ||
30 | } | 33 | } |
31 | 34 | ||
32 | SSTATE_SCAN_FILES += "gmp.h" | 35 | SSTATE_SCAN_FILES += "gmp.h" |