From ea49d9447c44de4fc192b8e9876c68df141011b8 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Sat, 23 Feb 2013 10:14:33 +0000 Subject: [PATCH] Fixed compilation for gcc 4.7 and cleanup --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 22ec815..d65927b 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ $(WORK)/binutils-$(BINUTILS_VERSION): $(WORK)/binutils-$(BINUTILS_VERSION).tar.b $(WORK)/build-binutils: $(WORK)/binutils-$(BINUTILS_VERSION) mkdir -p $(WORK)/build-binutils - touch $(WORK)/build-binutils-build + touch $(WORK)/build-binutils $(CLFS)/usr/include/libiberty.h: $(WORK)/build-binutils cd $(WORK)/build-binutils && \ @@ -117,7 +117,7 @@ $(CLFS)/usr/include/libiberty.h: $(WORK)/build-binutils AR=ar AS=as \ $(WORK)/binutils-$(BINUTILS_VERSION)/configure --prefix=$(CROSSTOOLS) \ --host=$(HOST) --target=$(TARGET) --with-sysroot=$(CLFS) \ - --disable-nls --enable-shared --disable-multilib && \ + --disable-nls --enable-shared --disable-multilib --disable-werror && \ make configure-host && make && make install || exit 1 cp -va $(WORK)/binutils-$(BINUTILS_VERSION)/include/libiberty.h $(CLFS)/usr/include touch $(CLFS)/usr/include/libiberty.h -- 2.26.2