X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=b9b780789bbef7e01815d177faef585c7f9f2efc;hb=8327ae0cb23b799bc55a45e0d4bd95f5a2b1cdf1;hp=6a862110487cfd153eee6aa8654da72a122b2e86;hpb=d66ab4f1409ad1a2093239ef48b7bca596acdf52;p=musl diff --git a/Makefile b/Makefile index 6a862110..b9b78078 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ TOOL_LIBS = lib/musl-gcc.specs ALL_LIBS = $(CRT_LIBS) $(STATIC_LIBS) $(SHARED_LIBS) $(EMPTY_LIBS) $(TOOL_LIBS) ALL_TOOLS = tools/musl-gcc -LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH).so.1 +LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH)$(SUBARCH).so.1 -include config.mak @@ -73,10 +73,10 @@ include/bits: @test "$(ARCH)" || { echo "Please set ARCH in config.mak before running make." ; exit 1 ; } ln -sf ../arch/$(ARCH)/bits $@ -include/bits/alltypes.h.sh: include/bits +include/bits/alltypes.h.in: include/bits -include/bits/alltypes.h: include/bits/alltypes.h.sh - sh $< > $@ +include/bits/alltypes.h: include/bits/alltypes.h.in include/alltypes.h.in tools/mkalltypes.sed + sed -f tools/mkalltypes.sed include/bits/alltypes.h.in include/alltypes.h.in > $@ src/ldso/dynlink.lo: arch/$(ARCH)/reloc.h