diff src/build-binutils.mk @ 3523:1b350761007f

allow native-gcc build to succeed
author John W. Eaton <jwe@octave.org>
date Sun, 16 Feb 2014 17:49:33 -0500
parents 3350681f52f2
children bff3dfa5c343
line wrap: on
line diff
--- a/src/build-binutils.mk	Fri Feb 14 18:01:52 2014 -0500
+++ b/src/build-binutils.mk	Sun Feb 16 17:49:33 2014 -0500
@@ -42,12 +42,13 @@
         --target='$(TARGET)' \
         --build='$(BUILD_SYSTEM)' \
         --prefix='$(BUILD_TOOLS_PREFIX)' \
+        --libdir='$(BUILD_TOOLS_PREFIX)/lib' \
         --with-gcc \
         --with-gnu-ld \
         --with-gnu-as \
         --disable-nls \
         --disable-multilib \
-        --with-sysroot='$(BUILD_TOOLS_PREFIX)' \
+        --with-sysroot='$(HOST_PREFIX)' \
         $(ENABLE_SHARED_OR_STATIC) \
         --disable-werror
     $(MAKE) -C '$(1)' -j '$(JOBS)'