BZ #15711: Avoid circular dependency for syscall.h
authorCarlos O'Donell <carlos@redhat.com>
Tue, 16 Jul 2013 21:55:43 +0000 (17:55 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 16 Jul 2013 21:55:43 +0000 (17:55 -0400)
commitd7e06450b9d730d7b62ba52f611585810fa902df
tree2cc341f9332b227835d6ffa1c13696a04a2e019b
parentf959cfd790b3bb31446c33c5fa8bff5f7f537cec
BZ #15711: Avoid circular dependency for syscall.h

The generated header is compiled with `-ffreestanding' to avoid any
circular dependencies against the installed implementation headers.
Such a dependency would require the implementation header to be
installed before the generated header could be built (See bug 15711).
In current practice the generated header dependencies do not include
any of the implementation headers removed by the use of `-ffreestanding'.

---

2013-07-15  Carlos O'Donell  <carlos@redhat.com>

[BZ #15711]
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
Avoid system header dependency with -ffreestanding.
($(objpfx)bits/syscall%d): Likewise.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/Makefile