build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
SVN-Revision: 29352
This commit is contained in:
parent
88cb7ae104
commit
830282cc89
2 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ ifneq ($(ARCH),)
|
||||||
$(if $(QUIET),,set -x;) \
|
$(if $(QUIET),,set -x;) \
|
||||||
mkdir -p "$$dir"; \
|
mkdir -p "$$dir"; \
|
||||||
cd "$$dir"; \
|
cd "$$dir"; \
|
||||||
|
ln -sf lib lib64; \
|
||||||
mkdir -p stamp lib usr/include usr/lib ; \
|
mkdir -p stamp lib usr/include usr/lib ; \
|
||||||
); done
|
); done
|
||||||
@grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@
|
@grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@
|
||||||
|
|
|
@ -83,6 +83,7 @@ $(STAGING_DIR_HOST)/.prepared: $(TMP_DIR)/.build
|
||||||
mkdir -p $(BUILD_DIR_HOST)/stamp $(STAGING_DIR_HOST)/include/sys
|
mkdir -p $(BUILD_DIR_HOST)/stamp $(STAGING_DIR_HOST)/include/sys
|
||||||
$(INSTALL_DATA) $(TOPDIR)/tools/include/*.h $(STAGING_DIR_HOST)/include/
|
$(INSTALL_DATA) $(TOPDIR)/tools/include/*.h $(STAGING_DIR_HOST)/include/
|
||||||
$(INSTALL_DATA) $(TOPDIR)/tools/include/sys/*.h $(STAGING_DIR_HOST)/include/sys/
|
$(INSTALL_DATA) $(TOPDIR)/tools/include/sys/*.h $(STAGING_DIR_HOST)/include/sys/
|
||||||
|
ln -sf lib $(STAGING_DIR_HOST)/lib64
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue