gcc: added support for 64 bit libraries.

This commit is contained in:
Ricardo Martins 2015-12-22 17:50:07 +00:00
parent 34fb3c85c2
commit 06dbd478e3

View File

@ -34,12 +34,14 @@ host_install()
{
$cmd_make install &&
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/lib/"libgcc_s.so* \
"$cfg_dir_toolchain_sysroot/lib" &&
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/lib/"libstdc++.so* \
"$cfg_dir_toolchain_sysroot/usr/lib"
for l in lib lib64; do
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/$l"/libgcc_s.so* \
"$cfg_dir_toolchain_sysroot/lib" &&
cp -d \
"$cfg_dir_toolchain/$cfg_target_canonical/$l"/libstdc++.so* \
"$cfg_dir_toolchain_sysroot/usr/lib"
done
}
target_install()