From 75b8346bed7150b0b28f48a6faa4454679e4ad34 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 14 May 2016 03:09:41 +0000 Subject: [PATCH] litecross: create $(TARGET)-cc symlink for installed compiler in case the user does not want to write the 'g' when invoking 'gcc'. --- litecross/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litecross/Makefile b/litecross/Makefile index adbeedb..e55b390 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -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