diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-01-26 14:13:12 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-26 14:13:12 -0500 |
commit | 48d8e3721ecf04744e7b3e9f72cd2b269e036fc0 (patch) | |
tree | 39d0c444dd7c34d3241659bb3a7aab1c88348c6f /extra/scripts/Makefile.libs.lvl2 | |
parent | 5ce6b30bd1a0077f450735162e6d53de793dab5f (diff) |
buildsys: gen_bits_syscall_h: do not leave undefined SYS_xxx around
If we end up doing '#undef __NR_xxx', we don't want to leave the
corresponding SYS_xxx symbol defined. So undef it too.
For example, with the ARM EABI layer, we have a bunch of legacy
syscalls that we define early on and then later undefine (such
as __NR_utime). But we left SYS_utime defined so code that tests
for that define before using it would be broken (since it'd be
defined to a non-existent symbol).
URL: https://bugs.gentoo.org/425006
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'extra/scripts/Makefile.libs.lvl2')
0 files changed, 0 insertions, 0 deletions