Browse Source

Cleanup build/sysincl/linux.yml and add a disclaimer
8c051d254142305ea89a0bb6bfc7f1dadd112ff4

thegeorg 8 months ago
parent
commit
5009700545

+ 2 - 4
build/sysincl/linux.yml

@@ -1,5 +1,6 @@
+# FIXME: this is actually a glibc (libc6-dev) headers listing.
+#        It should be disassembled and libc-to-nothing should be used instead.
 - includes:
-  - _G_config.h
   - a.out.h
   - aliases.h
   - ansidecl.h
@@ -23,9 +24,6 @@
   - gshadow.h
   - ieee754.h
   - libio.h
-  - linux/compiler.h
-  - linux/irda.h
-  - linux/smb.h
   - mcheck.h
   - netash/ash.h
   - netatalk/at.h

+ 1 - 1
contrib/libs/llvm14/lib/Support/Unix/Path.inc

@@ -91,7 +91,7 @@ extern char **environ;
 #include <linux/nfs_fs.h>
 #endif
 #if defined(HAVE_LINUX_SMB_H)
-#include <linux/smb.h>
+#error #include <linux/smb.h>
 #endif
 #endif
 #include <sys/vfs.h>

+ 1 - 1
contrib/libs/llvm16/lib/Support/Unix/Path.inc

@@ -91,7 +91,7 @@ extern char **environ;
 #include <linux/nfs_fs.h>
 #endif
 #if defined(HAVE_LINUX_SMB_H)
-#include <linux/smb.h>
+#error #include <linux/smb.h>
 #endif
 #endif
 #include <sys/vfs.h>