X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=Makefile;h=3c55c8f24c9dd566ae2e4033f4afe85d16093cc3;hp=10c174ce48cb08878c21f201872ecd983b0417e2;hb=99a2af6f45b356324e99acf0da809ca416eed0de;hpb=9f74574fe697f0908d766579e73d94fc621463d4 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/%