1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/binutils/binutils.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 atstage native && var_append extraconfopt ' ' '--enable-gold --enable-ld=default'
13 var_append extraconfopt ' ' '--enable-threads --enable-plugins'
14 var_append extraconfopt ' ' '--enable-64-bit-bfd'
15 [ "$arch" = "ia64" ] && var_append extraconfopt ' ' '--enable-obsolete'
17 if atstage toolchain; then
18 bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc
19 var_append confopt " " "--with-sysroot=$sysroot"
20 var_append confopt " " "--program-prefix=${arch_target}-"
22 confopt="${confopt/--with-sysroot/--with-libtool-sysroot}"
23 var_append confopt ' ' "--enable-shared"
24 var_append confopt ' ' "--enable-install-libiberty"