Author: nbd
Date: 2015-01-07 17:02:59 +0100 (Wed, 07 Jan 2015)
New Revision: 43866

Modified:
   trunk/package/devel/binutils/Makefile
Log:
package/binutils: actually support the target toolchain

This fixes a bug, where ld on ARM EABI platforms expects OABI code.

Signed-off-by: Harald Geyer <[email protected]>

Modified: trunk/package/devel/binutils/Makefile
===================================================================
--- trunk/package/devel/binutils/Makefile       2015-01-07 00:14:38 UTC (rev 
43865)
+++ trunk/package/devel/binutils/Makefile       2015-01-07 16:02:59 UTC (rev 
43866)
@@ -69,6 +69,8 @@
 TARGET_CFLAGS += $(FPIC) -Wno-unused-value
 
 CONFIGURE_ARGS += \
+       --host=$(REAL_GNU_TARGET_NAME) \
+       --target=$(REAL_GNU_TARGET_NAME) \
        --enable-shared \
        --enable-install-libiberty \
        --enable-install-libbfd
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to