diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 7911ceb0f3..45828bb5f5 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
| @@ -19,12 +19,12 @@ def get_gcc_fpu_setting(bb, d): | |||
| 19 | return "" | 19 | return "" |
| 20 | 20 | ||
| 21 | def get_gcc_mips_plt_setting(bb, d): | 21 | def get_gcc_mips_plt_setting(bb, d): |
| 22 | if d.getVar('TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() : | 22 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() : |
| 23 | return "--with-mips-plt" | 23 | return "--with-mips-plt" |
| 24 | return "" | 24 | return "" |
| 25 | 25 | ||
| 26 | def get_gcc_multiarch_setting(bb, d): | 26 | def get_gcc_multiarch_setting(bb, d): |
| 27 | target_arch = d.getVar('TARGET_ARCH', True) | 27 | target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) |
| 28 | multiarch_options = { | 28 | multiarch_options = { |
| 29 | "i586": "--enable-targets=all", | 29 | "i586": "--enable-targets=all", |
| 30 | "powerpc": "--enable-targets=powerpc64", | 30 | "powerpc": "--enable-targets=powerpc64", |
