--disable-shared iff SHARED_LIBRARIES is set to "no". By default, SHARED_LIBRARIES ?= "yes" in this file, thus this should NOT affect behaviour.
--disable-shared is needed for initial support for the newly introduced nios2 architecture in OpenEmbedded. Tested-by: Walter Goossens <[email protected]> Tested-by: Leon Woestenberg <[email protected]> Signed-off-by: Leon Woestenberg <[email protected]> --- 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 8a96326..6031834 100644 --- a/recipes/gcc/gcc-configure-common.inc +++ b/recipes/gcc/gcc-configure-common.inc @@ -14,6 +14,7 @@ OBJC_linux-uclibc ?= "" OBJC_avr ?= "" OBJC_nylon ?= "" OBJC ?= ",objc" +SHARED_LIBRARIES ?= "yes" # gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran' FORTRAN ?= ",f77" @@ -24,7 +25,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 \ -- 1.6.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
