summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuang Li <yuangli88@hotmail.com>2022-08-31 14:32:09 +0100
committerYuang Li <yuangli88@hotmail.com>2022-08-31 14:32:09 +0100
commit01cb90be1578b2308f7c69be3b34dd44b0dbbe95 (patch)
tree94552436d34cfae30c9e57447514385b36dcd23e
parenta3bfd284c2d49ef148a7e12fbeb0134b5246b5e6 (diff)
downloadlibgit2-01cb90be1578b2308f7c69be3b34dd44b0dbbe95.tar.gz
restore GIT_RAND_GETENTROPY
-rw-r--r--src/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b81ad272f..14ffa6c40 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -70,11 +70,6 @@ check_function_exists(qsort_s GIT_QSORT_S)
# random / entropy data
-# The flag has been unset to prevent issues
-# related to Linux GLIBC version dependency
-
-# check_function_exists(getentropy GIT_RAND_GETENTROPY)
-unset(GIT_RAND_GETENTROPY)
check_function_exists(getloadavg GIT_RAND_GETLOADAVG)
# determine architecture of the machine