about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-11-04 01:47:38 -0500
committerRich Felker <dalias@aerifal.cx>2019-11-04 01:47:38 -0500
commit129118db4d16e3aea484255413fed3b5150ce201 (patch)
tree5e54c40e38ef0803a4d10f0adc1a6456acaaabd2 /Makefile
parent028092b61f22db7cff57af16b72badbd8ac6332c (diff)
downloadmusl-129118db4d16e3aea484255413fed3b5150ce201.tar.gz
musl-129118db4d16e3aea484255413fed3b5150ce201.tar.xz
musl-129118db4d16e3aea484255413fed3b5150ce201.zip
fix failure to build time32 compat shims with out-of-tree builds
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d636f5a9..bd8f5c38 100644
--- 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),)