fix failure to build time32 compat shims with out-of-tree builds
authorRich Felker <dalias@aerifal.cx>
Mon, 4 Nov 2019 06:47:38 +0000 (01:47 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 4 Nov 2019 06:47:38 +0000 (01:47 -0500)
commit de90f38e3b105802655d19d965d66335d25d59ef omitted $(srcdir) from
the makefile include pathname it added. since the include directive
was prefixed with - to make it optional (for archs that don't use it),
the failure to find arch/$(ARCH)/arch.mak was silent.

Makefile

index d636f5a91970486fea1cefc81a7d2c4c2efbada4..bd8f5c389d2b04ca9214e2db1ed873b331da3321 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ WRAPCC_CLANG = clang
 LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH)$(SUBARCH).so.1
 
 -include config.mak
--include arch/$(ARCH)/arch.mak
+-include $(srcdir)/arch/$(ARCH)/arch.mak
 
 ifeq ($(ARCH),)