|
|
|
@ -15,11 +15,14 @@ |
|
|
|
|
|
|
|
hook_add preconf 5 "mkdir -p objdir; cd objdir; configscript=../configure" |
|
|
|
|
|
|
|
var_append confopt " " "--disable-werror" |
|
|
|
var_append confopt " " "--enable-install-libiberty" |
|
|
|
var_append confopt " " "--disable-nls" |
|
|
|
|
|
|
|
if atstage toolchain; then |
|
|
|
bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc |
|
|
|
var_append confopt " " "--with-sysroot=$sysroot" |
|
|
|
var_append confopt " " "--program-prefix=${arch_target}-" |
|
|
|
var_append confopt " " "--disable-werror" |
|
|
|
|
|
|
|
var_append SYSCC_WRAPPER_REMOVE ' ' '-Werror' |
|
|
|
else |
|
|
|
@ -38,7 +41,6 @@ else |
|
|
|
var_remove confopt " " "--disable-static" |
|
|
|
fi |
|
|
|
|
|
|
|
var_append confopt " " "--disable-werror" |
|
|
|
var_append GCC_WRAPPER_REMOVE ' ' '-Werror' |
|
|
|
fi |
|
|
|
|