From 016b364f92de536b5a3ba9bb617503e7ea96653b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy=20K=C3=A1roly=20G=C3=A1briel?= Date: Sat, 7 Nov 2015 17:42:10 +0000 Subject: [PATCH] binutils: refactored .conf to be more slender and enabled libiberty --- base/binutils/binutils.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/binutils/binutils.conf b/base/binutils/binutils.conf index 9a6505bcd..df502f38f 100644 --- a/base/binutils/binutils.conf +++ b/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