Explorar o código

drive home the point people should not be using _syscall#() macros

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
28f3c7c913
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Makefile.in

+ 2 - 0
Makefile.in

@@ -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