diff --git a/extra/mold/build b/extra/mold/build index 4284c581..30ff8315 100755 --- a/extra/mold/build +++ b/extra/mold/build @@ -7,10 +7,12 @@ export CXXFLAGS="-L$PWD/xxhash -I$PWD/xxhash $CXXFLAGS" # Force a static build so shared library breakage does not also break the # linker (and therefore the ability to recover from the issue). -export LDFLAGS="$LDFLAGS -static" +# XXX: Static linking prevents mold from using dlopen() which is required +# for performing LTO. +# export LDFLAGS="$LDFLAGS -static" make -make install +make PREFIX=/usr install # Create a symbolic link so users can use mold as the linker system-wide # (without need for special CFLAGS/CXXFLAGS). diff --git a/extra/mold/checksums b/extra/mold/checksums index 7ce54d04..ecf8d193 100644 --- a/extra/mold/checksums +++ b/extra/mold/checksums @@ -1,2 +1,2 @@ -348e1b893d3520322b1e047b5abf040e56ad92de5643e67652ede87b9d694f60 -7054c3ebd169c97b64a92d7b994ab63c70dd53a06974f1f630ab782c28db0f4f +2f04bb2cd58797258c4f5f6f29fd2667f8b6c6b2bc76c731fede526884ea9a0c +3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c diff --git a/extra/mold/depends b/extra/mold/depends index 2e0ad68c..f820a97c 100644 --- a/extra/mold/depends +++ b/extra/mold/depends @@ -1,3 +1,3 @@ cmake make -openssl make -zlib make +openssl +zlib diff --git a/extra/mold/sources b/extra/mold/sources index e2f798ae..12aff8ec 100644 --- a/extra/mold/sources +++ b/extra/mold/sources @@ -1,2 +1,2 @@ https://github.com/rui314/mold/archive/refs/tags/vVERSION.tar.gz -https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.0.tar.gz xxhash +https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.1.tar.gz xxhash diff --git a/extra/mold/version b/extra/mold/version index 0beba050..f8b0b375 100644 --- a/extra/mold/version +++ b/extra/mold/version @@ -1 +1 @@ -0.9.6 1 +1.1 1