X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=Makefile;h=3c55c8f24c9dd566ae2e4033f4afe85d16093cc3;hp=10c174ce48cb08878c21f201872ecd983b0417e2;hb=0b3e2257fa9f4c4773f8aec1bdbccbc46a4d9477;hpb=f600105eef74a636a0efd1f1d07170ce5df9aa64 diff --git a/Makefile b/Makefile index 10c174ce..3c55c8f2 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ lib/musl-gcc.specs: tools/musl-gcc.specs.sh config.mak sh $< "$(includedir)" "$(libdir)" "$(LDSO_PATHNAME)" > $@ tools/musl-gcc: config.mak - printf '#!/bin/sh\nexec gcc "$$@" -specs "%s/musl-gcc.specs"\n' "$(libdir)" > $@ + printf '#!/bin/sh\nexec "$${REALGCC:-gcc}" "$$@" -specs "%s/musl-gcc.specs"\n' "$(libdir)" > $@ chmod +x $@ $(DESTDIR)$(bindir)/%: tools/%