|
|
|
@ -146,12 +146,17 @@ if atstage cross; then
|
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-Wl,-rpath,${root}/lib" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_LIBC" = 'uclibc' -a "$SDECFG_PKG_UCLIBC_THREADSUPPORT" = 'none' ]; then |
|
|
|
|
var_append confopt " " "--disable-threads" |
|
|
|
|
else |
|
|
|
|
var_append confopt " " "--enable-threads=posix" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if ! atstage native; then |
|
|
|
|
var_append confopt " " "--disable-libmudflap" |
|
|
|
|
else |
|
|
|
|
var_append confopt " " "--with-gnu-as" |
|
|
|
|
var_append confopt " " "--with-gnu-ld" |
|
|
|
|
var_append confopt " " "--enable-threads=posix" |
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_PKG_GCC_JAVA" != 1 ] ; then |
|
|
|
|
var_append confopt " " "--disable-libgcj" |
|
|
|
|