[oe-commits] Walter Goossens : gcc-configure-common.inc: Introduce and respect SHARED_LIBRARIES.
git version control
git at git.openembedded.org
Tue Nov 24 12:52:33 UTC 2009
Module: openembedded.git
Branch: likewise/nios2
Commit: 9b6d35bcb94fd4f0786730adfcaec0e1a963565b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9b6d35bcb94fd4f0786730adfcaec0e1a963565b
Author: Walter Goossens <walter.goossens at axon.tv>
Date: Sun Nov 22 15:47:15 2009 +0100
gcc-configure-common.inc: Introduce and respect SHARED_LIBRARIES.
Signed-off-by: Leon Woestenberg <leon at sidebranch.com>
---
recipes/gcc/gcc-configure-common.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
index efe8ee8..53c7824 100644
--- a/recipes/gcc/gcc-configure-common.inc
+++ b/recipes/gcc/gcc-configure-common.inc
@@ -13,6 +13,7 @@ OBJC_linux-uclibceabi ?= ""
OBJC_linux-uclibc ?= ""
OBJC_avr ?= ""
OBJC ?= ",objc"
+SHARED_LIBRARIES ?= "yes"
# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
FORTRAN ?= ",f77"
@@ -23,7 +24,7 @@ EXTRA_OECONF_PATHS ?= ""
EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
- --enable-shared \
+ ${@['--enable-shared', '--disable-shared'][ "$SHARED_LIBRARIES" != "no" ]} \
--enable-target-optspace \
--enable-languages=${LANGUAGES} \
--enable-threads=posix \
More information about the Openembedded-commits
mailing list