From 100d30900005d12827afcff6339722bd7be222ad Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 10 Jun 2017 21:24:12 -0400 Subject: [PATCH] litecross: add dummy lib32 symlink to lib in build sysroot at least mips n32 target seems to be breaking due to an expectation of finding crti.o/crtn.o there during building of target libs. --- litecross/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litecross/Makefile b/litecross/Makefile index b0a7a17..371affb 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -77,7 +77,7 @@ FULL_MUSL_CONFIG += CC="$(XGCC)" LIBCC="../obj_toolchain/$(TARGET)/libgcc/libgcc MUSL_VARS = AR=../obj_toolchain/binutils/ar RANLIB=../obj_toolchain/binutils/ranlib obj_musl/.lc_configured: | obj_toolchain/gcc/.lc_built obj_musl/.lc_built: | obj_toolchain/$(TARGET)/libgcc/libgcc.a -obj_toolchain/gcc/.lc_built: | obj_sysroot/usr obj_sysroot/lib64 obj_sysroot/include +obj_toolchain/gcc/.lc_built: | obj_sysroot/usr obj_sysroot/lib32 obj_sysroot/lib64 obj_sysroot/include obj_toolchain/.lc_built: | obj_sysroot/.lc_libs obj_sysroot/.lc_headers else SYSROOT = / @@ -158,6 +158,9 @@ obj_sysroot/include: obj_sysroot/usr: | obj_sysroot ln -sf . $@ +obj_sysroot/lib32: | obj_sysroot + ln -sf lib $@ + obj_sysroot/lib64: | obj_sysroot ln -sf lib $@