Skip to content

Commit

Permalink
Include sysroots from Debian 6 up to 9
Browse files Browse the repository at this point in the history
Also allow cross-compiling software to these targets by adding wrappers that calls GCC/G++ with the appropriate --sysroot option.
  • Loading branch information
Kartatz committed Aug 21, 2024
1 parent 1bb7dd0 commit d4d957e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,6 @@ while read item; do
cp "${executable}" "${toolchain_directory}/bin/${triplet}${glibc_version}-gcc"
cp "${executable}" "${toolchain_directory}/bin/${triplet}${glibc_version}-g++"

wget --no-verbose "https://github.com/AmanoTeam/debian-sysroot/releases/download/latest/${triplet}${glibc_version}.tar.xz" --output-document="${sysroot_tarball}"
wget --no-verbose "https://github.com/AmanoTeam/debian-sysroot/releases/latest/download/${triplet}${glibc_version}.tar.xz" --output-document="${sysroot_tarball}"
tar --directory="${toolchain_directory}" --extract --file="${sysroot_tarball}"
done <<< "$(jq --compact-output '.[]' "${workdir}/submodules/debian-sysroot/dist.json")"

0 comments on commit d4d957e

Please sign in to comment.