diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-12-19 14:18:49 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-12-20 22:54:45 -0800 |
commit | 2b06bd7a61a7c284183b5fb10af80e9df4b27b61 (patch) | |
tree | e47e50bee33ee64ad05262c3580ac3f2e1d31aeb /recipes/gcc/gcc-cross-initial.inc | |
parent | 237917b03120fbd49a5bcb9967dce8ae815cdf5d (diff) | |
download | openembedded-2b06bd7a61a7c284183b5fb10af80e9df4b27b61.tar.gz |
gcc: Enable mips plt extentions if DISTRO_FEATURE has mplt.
* Newer gcc (4.4+) has implemented -mplt option to
enable PLT and copy relocation extentions of MIPS ABI
which makes shared code run a lot faster. This feature
is however controlled by DISTRO_FEATURES which should
add 'mplt' to DISTRO_FEATURES to enable it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Holger Hans Peter Freyther <zecke@selfish.org>
Diffstat (limited to 'recipes/gcc/gcc-cross-initial.inc')
-rw-r--r-- | recipes/gcc/gcc-cross-initial.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-cross-initial.inc b/recipes/gcc/gcc-cross-initial.inc index a2c4445578..2ab1d7f990 100644 --- a/recipes/gcc/gcc-cross-initial.inc +++ b/recipes/gcc/gcc-cross-initial.inc @@ -16,7 +16,8 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --program-prefix=${TARGET_PREFIX} \ --with-sysroot=${STAGING_DIR_TARGET} \ --with-build-sysroot=${STAGING_DIR_TARGET} \ - ${@get_gcc_fpu_setting(bb, d)}" + ${@get_gcc_fpu_setting(bb, d)} \ + ${@get_gcc_mips_plt_setting(bb, d)}" do_install () { : |