From c4f1f619a34695a570c9a970be4cc3544373d5be Mon Sep 17 00:00:00 2001 From: Chang Liu Date: Thu, 16 Apr 2015 18:10:10 +0000 Subject: [PATCH] Symlink to cross prefix x86_64-unknown-linux-musl- --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 68b8fac..f921fb0 100755 --- a/build.sh +++ b/build.sh @@ -139,12 +139,12 @@ fi # un"fix" headers rm -rf "$CC_PREFIX/lib/gcc/$TRIPLE"/*/include-fixed/ "$CC_PREFIX/lib/gcc/$TRIPLE"/*/include/stddef.h -# make backwards-named compilers for easier cross-compiling +# many build systems require cross-prefix x86_64-unknown-linux-musl- ( cd "$CC_PREFIX/bin" for tool in $TRIPLE-* do - btool=`echo "$tool" | sed 's/-linux-musl/-musl-linux/'` + btool=`echo "$tool" | sed 's/-linux-musl/-unknown-linux-musl/'` [ "$tool" != "$btool" -a ! -e "$btool" ] && ln -s $tool $btool done ) -- 2.3.2