aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-toolchain
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2013-06-03 16:06:15 +0300
committerRiku Voipio <riku.voipio@linaro.org>2013-06-03 16:06:15 +0300
commit0f679485b945c1b929a44d1865eb517a096ac4ef (patch)
tree5e91445ec693c27dbe0ecdb02c29cd0e04406ac2 /meta-linaro-toolchain
parentfd04b6c8e643936ee2f5b7ef040e97c1acaeac4a (diff)
downloadmeta-linaro-0f679485b945c1b929a44d1865eb517a096ac4ef.tar.gz
gcc-linaro: fix builds
1) pick upstream fix for libunwind related build failure 2) build gmp-native as needed when building with external toolchain
Diffstat (limited to 'meta-linaro-toolchain')
-rw-r--r--meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.7.bb3
-rw-r--r--meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.8.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.7.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.7.bb
index d8b14eb5..e5ce3744 100644
--- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.7.bb
+++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.7.bb
@@ -1,3 +1,6 @@
require gcc-linaro-common-4.7.inc
require recipes-devtools/gcc/gcc_${BASEPV}.bb
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
+
+DEPENDS =+ "gmp-native"
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.8.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.8.bb
index 1644bafe..0a8bf186 100644
--- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.8.bb
+++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.8.bb
@@ -1,3 +1,6 @@
require gcc-linaro-common-4.8.inc
require recipes-devtools/gcc/gcc_${BASEPV}.bb
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ "
+
+DEPENDS += "gmp-native"