From: Jose V Beneyto Date: Sat, 23 Feb 2013 10:14:33 +0000 (+0000) Subject: Fixed compilation for gcc 4.7 and cleanup X-Git-Url: http://gitweb/?a=commitdiff_plain;h=ea49d9447c44de4fc192b8e9876c68df141011b8;p=attic%2Ftoolchain-noeabi.git Fixed compilation for gcc 4.7 and cleanup --- 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