aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-10-22 21:49:26 -0700
committerRob Landley <rob@landley.net>2019-10-27 22:46:35 -0500
commit336dff9adb323439dff21a668a2e5b6d2fe409f5 (patch)
treea411f18fb52286f459017ff24cb959ac66064b96 /scripts
parentc0bb071b4bc47c74e229ef84cdbaf374e1c2a581 (diff)
downloadtoybox-336dff9adb323439dff21a668a2e5b6d2fe409f5.tar.gz
fallocate: remove uClibc workaround to benefit macOS.
My understanding is that uClibc is dead, and the probe for fallocate would need to be made more complicated to work for macOS (where we fake posix_fallocate() in lib/portability.c).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/genconfig.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index 724888b3..cc2bd764 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -52,11 +52,6 @@ EOF
probesymbol TOYBOX_ICONV -c << EOF
#include "iconv.h"
EOF
- probesymbol TOYBOX_FALLOCATE << EOF
- #include <fcntl.h>
-
- int main(int argc, char *argv[]) { return posix_fallocate(0,0,0); }
-EOF
# Android and some other platforms miss utmpx
probesymbol TOYBOX_UTMPX -c << EOF