Procházet zdrojové kódy

Makefile.in: add missing dependency on bits/sysnum.h to $(pregen-headers-y)

This fixes the following build error:

  GEN include/bits/sysnum.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/structsem.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/structsem.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.h
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.h
In file included from ./libpthread/nptl/pthreadP.h:25:0,
                 from <stdin>:2:
./include/sys/syscall.h:24:25: fatal error: bits/sysnum.h: No such file or directory
 #include <bits/sysnum.h>
                         ^
compilation terminated.
  GEN libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelcond.h
make[1]: *** [libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.h] Error 1

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Max Filippov před 9 roky
rodič
revize
8404d33c7b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Makefile.in

+ 1 - 1
Makefile.in

@@ -167,7 +167,7 @@ $(ALL_HEADERS_SYS_ARCH):
 	$(do_ln) $(call rel_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/sys/$(@F) $@
 endif
 
-$(target-headers-sysdep) $(pregen-headers-y): | $(top_builddir)include/bits $(top_builddir)include/sys
+$(target-headers-sysdep) $(pregen-headers-y): | $(top_builddir)include/bits $(top_builddir)include/sys $(top_builddir)include/bits/sysnum.h 
 
 HEADERCLEAN_common:
 	$(do_rm) $(ALL_HEADERS_COMMON)