Browse Source

binutils: refactored .conf to be more slender and enabled libiberty

master
Nagy Károly Gábriel 10 years ago
parent
commit
016b364f92
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      base/binutils/binutils.conf

+ 4
- 2
base/binutils/binutils.conf

@ -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

Loading…
Cancel
Save