[packages] binutils: do not configure with system root set to pkg install, it will...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 30 Aug 2011 18:39:38 +0000 (18:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 30 Aug 2011 18:39:38 +0000 (18:39 +0000)
SVN-Revision: 28130

devel/binutils/Makefile

index 5925fdd5208e25cf3cc56eebce452e93282e6640..79dcc0336e609ae75189fba722c6ce70887cbd79 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=binutils
 PKG_VERSION:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION)))
 #"))
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE_URL:=@GNU/binutils
 PKG_SOURCE:=binutils-$(PKG_VERSION).tar.bz2
@@ -47,7 +47,6 @@ CONFIGURE_ARGS = \
                --target=$(REAL_GNU_TARGET_NAME) \
                --host=$(REAL_GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
-               --with-sysroot=$(PKG_INSTALL_DIR) \
                --prefix=/usr \
                --disable-multilib \
                --disable-werror \
@@ -72,7 +71,7 @@ define Build/Configure
                configure-libiberty \
                configure-opcodes \
        )
-       $(MAKE) CFLAGS="$(TARGET_CFLAGS)"-C $(PKG_BUILD_DIR)/bfd/po Makefile
+       $(MAKE) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/bfd/po Makefile
 endef
 
 define Build/InstallDev