From 3c072d620652780a4ae7a7823f6e9a1a6b699a15 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 24 Nov 2015 20:40:44 -0800 Subject: binutils/gdb: Fix configure options when building from binutils-gdb repo When building from: {git,http}://sourceware.org/git/binutils-gdb.git and setting BINUTILS_CUSTOM or GDB_CUSTOM, they could be the same source. These config options should not affect normal released versions. Signed-off-by: Bryan Hundven --- scripts/build/binutils/binutils.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build/binutils') diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 50c77413..a84e6543 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -211,6 +211,10 @@ do_binutils_backend() { extra_config+=("--disable-multilib") fi + # Disable gdb when building from the binutils-gdb repository. + extra_config+=("--disable-sim") + extra_config+=("--disable-gdb") + [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls") CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" -- cgit v1.2.3