aboutsummaryrefslogtreecommitdiff
path: root/libc/cmake/modules
diff options
context:
space:
mode:
authormichaelrj-google <71531609+michaelrj-google@users.noreply.github.com>2023-11-17 11:32:27 -0800
committerGitHub <noreply@github.com>2023-11-17 11:32:27 -0800
commit4db99c8b541592729cc0f8b2d1918bcb8c45f99f (patch)
tree140582f36084a448e474b95346edaad000f642c2 /libc/cmake/modules
parenta1ae7e97de24b7d9f3cd331ff47fc5a0cb5c29fe (diff)
downloadllvm-4db99c8b541592729cc0f8b2d1918bcb8c45f99f.zip
llvm-4db99c8b541592729cc0f8b2d1918bcb8c45f99f.tar.gz
llvm-4db99c8b541592729cc0f8b2d1918bcb8c45f99f.tar.bz2
[libc] Add base for target config within cmake (#72318)
Currently the only way to add or remove entrypoints is to modify the entrypoints.txt file for the current target. This isn't ideal since a user would have to carry a diff for this file when updating their checkout. This patch adds a basic mechanism to allow the user to remove entrypoints without modifying the repository.
Diffstat (limited to 'libc/cmake/modules')
-rw-r--r--libc/cmake/modules/system_features/check_sys_random.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/cmake/modules/system_features/check_sys_random.cpp b/libc/cmake/modules/system_features/check_sys_random.cpp
new file mode 100644
index 0000000..7ab1949
--- /dev/null
+++ b/libc/cmake/modules/system_features/check_sys_random.cpp
@@ -0,0 +1 @@
+#include <sys/random.h>