summaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-19 14:18:49 -0800
committerKhem Raj <raj.khem@gmail.com>2009-12-20 22:54:45 -0800
commit2b06bd7a61a7c284183b5fb10af80e9df4b27b61 (patch)
treee47e50bee33ee64ad05262c3580ac3f2e1d31aeb /recipes/gcc/gcc-cross-intermediate.inc
parent237917b03120fbd49a5bcb9967dce8ae815cdf5d (diff)
downloadopenembedded-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-intermediate.inc')
-rw-r--r--recipes/gcc/gcc-cross-intermediate.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-cross-intermediate.inc b/recipes/gcc/gcc-cross-intermediate.inc
index ccfa2b44b8..50792b697c 100644
--- a/recipes/gcc/gcc-cross-intermediate.inc
+++ b/recipes/gcc/gcc-cross-intermediate.inc
@@ -14,7 +14,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_stage_append () {
# get rid of dummy libc.so