mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Use sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule.
This commit is contained in:
parent
4a93ed423a
commit
d92b0dd4ed
@ -1,3 +1,8 @@
|
||||
2011-12-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
|
||||
$(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
|
||||
|
||||
2011-11-17 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
|
||||
|
@ -72,7 +72,7 @@ mips_list_syscalls = $(filter-out -m%,$(CC)) -E -x c $(+includes) \
|
||||
# Here, __NR_N32_open and __NR_O32_open are used to detect case (2)
|
||||
# over case (3). The n64 SYS_* macros can always use the normal
|
||||
# ABI-less names.
|
||||
$(objpfx)syscall-%.h $(objpfx)syscall-%.d: ../sysdeps/unix/sysv/linux/mips/sys/syscall.h
|
||||
$(objpfx)syscall-%.h $(objpfx)syscall-%.d: $(firstword $(wildcard $(sysdirs:=/sys/syscall.h)))
|
||||
$(make-target-directory)
|
||||
$(CC) -E -x c $(+includes) $(sysincludes) -D_LIBC $< -MD -MP \
|
||||
-MF $(@:.h=.d)-t -MT '$(@:.d=.h) $(@:.h=.d)' > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user