mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
override existing links at configure and install
This commit is contained in:
parent
0400e3c470
commit
959402208f
2 changed files with 5 additions and 5 deletions
|
@ -40,10 +40,10 @@ PREFIX="$(pwd)"
|
|||
# Symlink as, ld, ar and ranlib, which gcc will not find by itself (we renamed
|
||||
# them from sh3eb-elf-* to sh-elf-* with --program-prefix).
|
||||
mkdir -p sh3eb-elf/bin
|
||||
ln -s $(command -v sh-elf-as) sh3eb-elf/bin/as
|
||||
ln -s $(command -v sh-elf-ld) sh3eb-elf/bin/ld
|
||||
ln -s $(command -v sh-elf-ar) sh3eb-elf/bin/ar
|
||||
ln -s $(command -v sh-elf-ranlib) sh3eb-elf/bin/ranlib
|
||||
ln -sf $(command -v sh-elf-as) sh3eb-elf/bin/as
|
||||
ln -sf $(command -v sh-elf-ld) sh3eb-elf/bin/ld
|
||||
ln -sf $(command -v sh-elf-ar) sh3eb-elf/bin/ar
|
||||
ln -sf $(command -v sh-elf-ranlib) sh3eb-elf/bin/ranlib
|
||||
|
||||
cd build
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ cd ..
|
|||
# Symbolic link executables to $PREFIX/bin
|
||||
echo "$TAG Symlinking binaries..."
|
||||
for x in bin/*; do
|
||||
ln -s "$(pwd)/$x" "$PREFIX/$x"
|
||||
ln -sf "$(pwd)/$x" "$PREFIX/$x"
|
||||
done
|
||||
|
||||
# Cleanup build files
|
||||
|
|
Loading…
Reference in a new issue