CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed compilation for gcc 4.7 and cleanup 2.6
authorJose V Beneyto <sepen@crux.nu>
Sat, 23 Feb 2013 10:14:33 +0000 (10:14 +0000)
committerJose V Beneyto <sepen@crux.nu>
Sat, 23 Feb 2013 10:14:33 +0000 (10:14 +0000)
Makefile

index 22ec815a294876999b09888ec8e374523fc11ab5..d65927b20868fa285905fcaa521a00e65ac1e6ca 100644 (file)
--- 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