summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2017-01-26 14:33:18 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-29 00:26:36 +0100
commit65e3f409df6a9d5f4e6fb3655150eca90b101fc0 (patch)
tree15d3bc16febb08fb65a0497d9ece13c49a9304b5
parentbddde5860ffb8a78587854cc8e3e914bd69269ca (diff)
Fix make rule for generation of "ucontext_i.h" when building in separate directory (with O=)
For me it was enabling of UCLIBC_SUSV3_LEGACY=y that broke compilation in separate directory.
-rw-r--r--libc/sysdeps/linux/Makefile.commonarch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/Makefile.commonarch b/libc/sysdeps/linux/Makefile.commonarch
index f8dc17d8f..88309e45c 100644
--- a/libc/sysdeps/linux/Makefile.commonarch
+++ b/libc/sysdeps/linux/Makefile.commonarch
@@ -47,7 +47,7 @@ HEADERCLEAN_$(subst $(top_builddir),,$(ARCH_OUT)):
endif
$(ARCH_OUT)/ucontext_i.h: $(top_srcdir)extra/scripts/gen-as-const.awk
-$(ARCH_OUT)/ucontext_i.h: $(ARCH_OUT)/ucontext_i.sym
+$(ARCH_OUT)/ucontext_i.h: $(ARCH_DIR)/ucontext_i.sym
@$(disp_gen)
$(do_awk) $(top_srcdir)extra/scripts/gen-as-const.awk $< \
| $(CC) $(CFLAGS) -x c - -S -o - \