Преглед изворни кода

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.
Sergey Organov пре 7 година
родитељ
комит
65e3f409df
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libc/sysdeps/linux/Makefile.commonarch

+ 1 - 1
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 - \