mold
mold copied to clipboard
Missing -lrt which is required to build against older glibc versions
When building against glibc <2.17 it is required to pass -lrt to avoid undefined references to clock_gettime.
export LDFLAGS="-lrt" before running cmake works around the issue.