Make sure binutils does not leak system libraries into the build.

patch from mjn3 to prevent gcc using broken include paths
This commit is contained in:
Eric Andersen
2003-09-02 12:22:02 +00:00
parent c9e50edded
commit 92cecf265e
2 changed files with 19 additions and 1 deletions

View File

@@ -148,8 +148,8 @@ $(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched
--mandir=$(STAGING_DIR)/man \
--infodir=$(STAGING_DIR)/info \
--enable-targets=$(GNU_TARGET_NAME) \
--with-lib-path="/usr/lib:/lib" \
--with-sysroot=$(STAGING_DIR) \
--with-lib-path="$(STAGING_DIR)/usr/lib:$(STAGING_DIR)/lib" \
$(MULTILIB) \
--program-prefix=$(ARCH)-uclibc-);
touch $(BINUTILS_DIR1)/.configured