litecross: create $(TARGET)-cc symlink for installed compiler

in case the user does not want to write the 'g' when invoking 'gcc'.
This commit is contained in:
Rich Felker 2016-05-14 03:09:41 +00:00
parent 0291cc44ee
commit 75b8346bed
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ install-musl: | obj_musl/.lc_built
install-toolchain: | obj_toolchain/.lc_built
cd obj_toolchain && $(MAKE) MAKE="$(MAKE)" LC_ROOT=$(PWD) DESTDIR=$(DESTDIR)$(OUTPUT) install
ln -sf $(TARGET)-gcc $(DESTDIR)$(OUTPUT)/bin/$(TARGET)-cc
endif