diff options
author | Matthew McClintock <msm@freescale.com> | 2012-07-10 04:29:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 11:16:40 +0100 |
commit | 4899d07aa7721f1626379fe878c94640b06eb2e2 (patch) | |
tree | f96e4348953eb4c1d47dab812b2c8caefa2d6b21 /meta/recipes-devtools | |
parent | 0b71ac7a995f3c2f84c26a27ac2d68ded02aa513 (diff) | |
download | poky-4899d07aa7721f1626379fe878c94640b06eb2e2.tar.gz |
gcc: gcc-cross-canadian: use correct location for libraries for powerpc64
This fixes the issue where gcc invokes the linker with an incorrect -L
library location and gives up because it can't find libraries. It was
looking in a /lib folder instead of /lib64
(From OE-Core rev: aa010039a38188f1b1b38a978287d1597138b8b9)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 32545ebe41..c71312e892 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r26" | 3 | PR = "r27" |
4 | 4 | ||
5 | # Third digit in PV should be incremented after a minor release | 5 | # Third digit in PV should be incremented after a minor release |
6 | # happens from this branch on gcc e.g. currently its 4.6.0 | 6 | # happens from this branch on gcc e.g. currently its 4.6.0 |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb index da3210fc35..74f983dd33 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb | |||
@@ -9,8 +9,8 @@ DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" | |||
9 | RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" | 9 | RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" |
10 | 10 | ||
11 | SYSTEMHEADERS = "/usr/include" | 11 | SYSTEMHEADERS = "/usr/include" |
12 | SYSTEMLIBS = "/lib/" | 12 | SYSTEMLIBS = "${target_base_libdir}/" |
13 | SYSTEMLIBS1 = "/usr/lib/" | 13 | SYSTEMLIBS1 = "${target_libdir}/" |
14 | 14 | ||
15 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | 15 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ |
16 | --disable-libgomp --disable-libmudflap \ | 16 | --disable-libgomp --disable-libmudflap \ |