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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user