mold icon indicating copy to clipboard operation
mold copied to clipboard

Missing -lrt which is required to build against older glibc versions

Open apmorton opened this issue 2 years ago • 0 comments

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.

apmorton avatar Apr 10 '23 16:04 apmorton