]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/binutils
binutils+gcc: Fix that the toolchain compiler is trying to link against host libraries
[ipfire-2.x.git] / lfs / binutils
index d94be9a066c69504b1513efdbb7817668b9f71c9..94e295cf955f8a1229d71a15bd484fc47ea06f4e 100644 (file)
@@ -59,7 +59,8 @@ ifeq "$(PASS)" "1"
        --target=$(CROSSTARGET) \
        --prefix=$(TOOLS_DIR) \
        --with-sysroot=$(ROOT) \
-       --with-lib-path=$(TOOLS_DIR)/lib
+       --with-lib-path=$(TOOLS_DIR)/lib \
+       --disable-nls
   EXTRA_MAKE =
   EXTRA_INSTALL = 
 else
@@ -69,10 +70,10 @@ else
        AR="$(CROSSTARGET)-ar" \
        RANLIB="$(CROSSTARGET)-ranlib"
   EXTRA_CONFIG = \
-       --host=$(BUILDTARGET) \
-       --build=$(BUILDTARGET) \
        --prefix=$(TOOLS_DIR) \
-       --with-lib-path=$(TOOLS_DIR)/lib
+       --with-lib-path=$(TOOLS_DIR)/lib \
+       --with-sysroot \
+       --disable-nls
   EXTRA_MAKE = 
   EXTRA_INSTALL = 
 endif