From a5e8317164d68726fb334ae66ec381abc286ad5d Mon Sep 17 00:00:00 2001
From: rofl0r <retnyg@gmx.net>
Date: Mon, 2 Nov 2015 10:19:00 +0000
Subject: [PATCH] prevent building of zlib and libiberty for the target

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 4b83e8e..90d15dc 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ GCC_LANG_CONFIG = --enable-languages=c,c++,lto
 GCC_CONFIG = $(COMMON_CONFIG) --enable-tls \
 	--disable-libmudflap --disable-libsanitizer \
 	--disable-libquadmath --disable-decimal-float \
+	--with-target-libiberty=no --with-target-zlib=no \
 	$(GCC_LANG_CONFIG) \
 	$(GCC_MULTILIB_CONFIG)