Browse Source

Update _toolchain

fix sysroot to old
pull/9/head
Gorgone 6 years ago
committed by GitHub
parent
commit
65544a2d71
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      support/functions/_toolchain

2
support/functions/_toolchain

@ -168,8 +168,8 @@ _toolchain_check(){
sysroot=${sr#"$tcdir/$1/bin/../"}; sysroot=${sr#"$tcdir/$1/bin/../"};
echo -e "$w_l GCC Version :$y_l $version"; echo -e "$w_l GCC Version :$y_l $version";
echo -e "$w_l GCC Binary :$y_l $machine""-gcc"; echo -e "$w_l GCC Binary :$y_l $machine""-gcc";
sysroot="$r_l$txt_too_old";
echo -e "$w_l GCC Sysroot :$y_l $sysroot"; echo -e "$w_l GCC Sysroot :$y_l $sysroot";
[ -z "$sysroot" ] && sysroot="$r_l$txt_too_old";
cd "$sr"; cd "$sr";
for e in "${headervars[@]}";do for e in "${headervars[@]}";do
temp=$(find * |grep -m1 "$e"); temp=$(find * |grep -m1 "$e");

Loading…
Cancel
Save