OSDN Git Service

drive home the point people should not be using _syscall#() macros
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Feb 2007 07:30:37 +0000 (07:30 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 1 Feb 2007 07:30:37 +0000 (07:30 -0000)
Makefile.in

index 8313cec..8d61847 100644 (file)
@@ -116,6 +116,8 @@ install_headers:
        rm -f tar_exclude
        printf '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \
                $(PREFIX)$(DEVEL_PREFIX)include/libc-internal.h
+       # Don't export _syscall#() macros anymore; they're not portable
+       echo > $(PREFIX)$(DEVEL_PREFIX)include/bits/syscalls.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/_lfs_64.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h