[libc-commits] [libc] [libc] Stop installing `sys/types.h` when not requested (PR #119765)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Dec 12 13:33:14 PST 2024
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/119765
Summary:
This is installed unconditionally because of the dependency in the
`hdr/` directory. Remove this so it's only used on the systems that need
it.
>From f13015517c8b2eb38d0b07f2689e64fa1d892f8e Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Thu, 12 Dec 2024 15:30:23 -0600
Subject: [PATCH] [libc] Stop installing `sys/types.h` when not requested
Summary:
This is installed unconditionally because of the dependency in the
`hdr/` directory. Remove this so it's only used on the systems that need
it.
---
libc/hdr/types/CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/libc/hdr/types/CMakeLists.txt b/libc/hdr/types/CMakeLists.txt
index 68a0e9603f9752..ce3ecefe364383 100644
--- a/libc/hdr/types/CMakeLists.txt
+++ b/libc/hdr/types/CMakeLists.txt
@@ -137,7 +137,6 @@ add_proxy_header_library(
clockid_t.h
FULL_BUILD_DEPENDS
libc.include.llvm-libc-types.clockid_t
- libc.include.sys_types
)
add_proxy_header_library(
@@ -173,7 +172,6 @@ add_proxy_header_library(
pid_t.h
FULL_BUILD_DEPENDS
libc.include.llvm-libc-types.pid_t
- libc.include.sys_types
)
add_proxy_header_library(
More information about the libc-commits
mailing list