summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r--meta/recipes-support/gmp/gmp.inc19
1 files changed, 1 insertions, 18 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 65cde21a7d..6752a39d13 100644
--- a/meta/recipes-support/gmp/gmp.inc
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -2,32 +2,15 @@ SECTION = "devel"
2SUMMARY = "GNU multiprecision arithmetic library" 2SUMMARY = "GNU multiprecision arithmetic library"
3DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" 3DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"
4HOMEPAGE = "http://gmplib.org/" 4HOMEPAGE = "http://gmplib.org/"
5LICENSE = "GPLv3 LGPLv3"
6 5
7REVISION ?= "" 6REVISION ?= ""
8 7SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2"
9SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
10 file://configure.patch \
11 file://amd64.patch "
12 8
13inherit autotools texinfo 9inherit autotools texinfo
14 10
15ARM_INSTRUCTION_SET = "arm" 11ARM_INSTRUCTION_SET = "arm"
16 12
17acpaths = ""
18
19BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
20 14
21PACKAGECONFIG ??= "" 15PACKAGECONFIG ??= ""
22PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" 16PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
23
24EXTRA_OECONF += " --enable-cxx=detect"
25
26PACKAGES =+ "libgmpxx"
27FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
28
29do_install_append_class-target() {
30 sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
31}
32
33SSTATE_SCAN_FILES += "gmp.h"