summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2011-11-01 22:25:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:38:14 +0000
commit9152ef8b1d43ccde024ef827676c155402c1c422 (patch)
tree8cab0545e5ebf99d500a8060a1b1b64c7971e951 /meta/recipes-support
parent4e4521b5bf0e2bf4324826d72e360c9dda4840c3 (diff)
downloadpoky-9152ef8b1d43ccde024ef827676c155402c1c422.tar.gz
gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC
CC_FOR_BUILD was compiling the test programs using the target's compile options and executing those on the host, causing errors such as: /bin/sh: line 1: 15032 Illegal instruction ./gen-bases table 64 0 > mpn/mp_bases.c /bin/sh: line 1: 15033 Illegal instruction ./gen-bases header 64 0 > mp_bases.h Export CC_FOR_BUILD using BUILD_CC to fix the problem. (From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072) (From OE-Core rev: 6ce3482c0f50b95d1d60d3c9250a9ab38fca76fe) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/gmp/gmp_5.0.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bb b/meta/recipes-support/gmp/gmp_5.0.2.bb
index 03fef453e9..16bdcbc2b7 100644
--- a/meta/recipes-support/gmp/gmp_5.0.2.bb
+++ b/meta/recipes-support/gmp/gmp_5.0.2.bb
@@ -2,11 +2,12 @@ require gmp.inc
2LICENSE="LGPLv3&GPLv3" 2LICENSE="LGPLv3&GPLv3"
3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
4 file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" 4 file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790"
5PR = "r0" 5PR = "r1"
6 6
7SRC_URI_append += "file://sh4-asmfix.patch \ 7SRC_URI_append += "file://sh4-asmfix.patch \
8 file://use-includedir.patch " 8 file://use-includedir.patch "
9 9
10export CC_FOR_BUILD = "${BUILD_CC}"
10 11
11SRC_URI[md5sum] = "0bbaedc82fb30315b06b1588b9077cd3" 12SRC_URI[md5sum] = "0bbaedc82fb30315b06b1588b9077cd3"
12SRC_URI[sha256sum] = "dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28" 13SRC_URI[sha256sum] = "dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28"