]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
Added a pax-patch to binutils.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2008 22:46:34 +0000 (22:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2008 22:46:34 +0000 (22:46 +0000)
lfs/binutils

index 28abce5c1764d9c32f4414f55aefe2cf8d1afff1..8143325c16ee05d2dbd06229c5ec842fc9eeb9d2 100644 (file)
@@ -87,6 +87,9 @@ ifeq "$(PASS)" "1"
 endif
 
 ifeq "$(PASS)" "2"
+ifeq "$(PAX)" "1"
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-pt_pax-1.patch
+endif
        cd $(DIR_SRC)/binutils-build && \
                CC="$(IFS_TARGET)-gcc -B$(TOOLS_DIR)/lib/" \
                AR=$(IFS_TARGET)-ar \
@@ -95,7 +98,8 @@ ifeq "$(PASS)" "2"
                        --target=$(IFS_TARGET) \
                        --prefix=$(TOOLS_DIR) \
                        --disable-nls \
-                       --with-lib-path=$(TOOLS_DIR)/lib
+                       --with-lib-path=$(TOOLS_DIR)/lib \
+                       --disable-werror
        cd $(DIR_SRC)/binutils-build && make $(PARALLELISMFLAGS)
        cd $(DIR_SRC)/binutils-build && make install