Newer
Older
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh
index 383de66d..1223e5ef 100644
--- a/scripts/crosstool-NG.sh
+++ b/scripts/crosstool-NG.sh
@@ -104,14 +104,6 @@ for d in \
esac
done
-n_open_files=$(ulimit -n)
-if [ "${n_open_files}" -lt 2048 ]; then
- # Newer ld seems to keep a lot of open file descriptors, hitting the default limit
- # (1024) for example during uClibc-ng link.
- CT_DoLog WARN "Number of open files ${n_open_files} may not be sufficient to build the toolchain; increasing to 2048"
- ulimit -n 2048
-fi
-
# Where will we work?
CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}"
CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}"