diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/Makefile.arch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/Makefile.arch b/libc/sysdeps/linux/Makefile.arch index 776fff235..a954e69ba 100644 --- a/libc/sysdeps/linux/Makefile.arch +++ b/libc/sysdeps/linux/Makefile.arch @@ -27,14 +27,14 @@ arch_objclean: ifneq ($(ARCH_HEADERS),) -ARCH_HEADERS_IN := $(patsubst %,$(ARCH_DIR)/%,$(ARCH_HEADERS)) +ARCH_HEADERS_IN := $(patsubst %,../libc/sysdeps/linux/$(TARGET_ARCH)/%,$(ARCH_HEADERS)) ARCH_HEADERS_OUT := $(patsubst %,$(top_builddir)include/%,$(ARCH_HEADERS)) headers-y += arch_headers arch_headers: $(SECHO) $(LN) -fs $(ARCH_HEADERS) $(top_builddir)include/ @for h in $(ARCH_HEADERS_IN) ; do \ - $(LN) -fs ../libc/sysdeps/linux/$(TARGET_ARCH)/$$h $(top_builddir)include/ ; \ + $(LN) -fs $$h $(top_builddir)include/ ; \ done headers_clean-y += arch_headers_clean |