Skip to content

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed Aug 29, 2024
1 parent d8d3030 commit 36b305f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sysroot/prune_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ rm -rf /var/buildlibs/gcc/share

if [ "$ARCH" == 'x86_64' ]; then
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/${LIBSTDCXX_VERSION} /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/${LIBSTDCXX_MAJOR}
mv /var/buildlibs/gcc/include/c++/${LIBSTDCXX_VERSION} /var/buildlibs/gcc/include/c++/${LIBSTDCXX_MAJOR}
mv /var/buildlibs/gcc/include/c++/${LIBSTDCXX_MAJOR}/${ARCH}-linux /var/buildlibs/gcc/include/c++/${LIBSTDCXX_MAJOR}/${ARCH}-linux-gnu
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/13.3.0 /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/13
mv /var/buildlibs/gcc/include/c++/13.3.0 /var/buildlibs/gcc/include/c++/13
mv /var/buildlibs/gcc/include/c++/13/${ARCH}-linux /var/buildlibs/gcc/include/c++/13/${ARCH}-linux-gnu
elif [ "$ARCH" == 'aarch64' ]; then
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/${LIBSTDCXX_VERSION} /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/${LIBSTDCXX_MAJOR}
mv /var/buildlibs/gcc/${ARCH}-linux/include/c++/${LIBSTDCXX_VERSION} /var/buildlibs/gcc/${ARCH}-linux/include/c++/${LIBSTDCXX_MAJOR}
mv /var/buildlibs/gcc/${ARCH}-linux/include/c++/${LIBSTDCXX_MAJOR}/${ARCH}-linux /var/buildlibs/gcc/${ARCH}-linux/include/c++/${LIBSTDCXX_MAJOR}/${ARCH}-linux-gnu
mv /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/13.3.0 /var/buildlibs/gcc/lib/gcc/${ARCH}-linux-gnu/13
mv /var/buildlibs/gcc/${ARCH}-linux/include/c++/13.3.0 /var/buildlibs/gcc/${ARCH}-linux/include/c++/13
mv /var/buildlibs/gcc/${ARCH}-linux/include/c++/13/${ARCH}-linux /var/buildlibs/gcc/${ARCH}-linux/include/c++/13/${ARCH}-linux-gnu
mv /var/buildlibs/gcc/${ARCH}-linux/include/c++ /var/buildlibs/gcc/include/c++
mv /var/buildlibs/gcc/${ARCH}-linux/lib64/* /var/buildlibs/gcc/lib64/
rm -r /var/buildlibs/gcc/${ARCH}-linux
Expand Down

0 comments on commit 36b305f

Please sign in to comment.