Browse Source

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 9 years ago
parent
commit
8404d33c7b
1 changed files with 1 additions and 1 deletions
  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)