|
|
@ -124,6 +124,12 @@ if atstage toolchain; then |
|
|
|
export LDFLAGS="-Wl,-rpath,${root}${libdir}" |
|
|
|
fi |
|
|
|
|
|
|
|
if atstage cross; then |
|
|
|
# for gcc versions 4.3 and upwards we have to explicitely specifiy the |
|
|
|
# target architecture at cross-compiling stage |
|
|
|
var_append confopt ' ' '--target=$arch_target' |
|
|
|
fi |
|
|
|
|
|
|
|
if ! atstage native; then |
|
|
|
var_append confopt " " "--disable-libmudflap" |
|
|
|
else |
|
|
|