summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-11-23 21:14:36 -0500
committerAlexander Hill <ahill@breadpudding.dev>2025-11-23 21:14:36 -0500
commit0a5a1839bcb657702db24dc69e5860fa14ee3164 (patch)
tree1fff4cd79f92cfa696477f055ccdec1dc0903e4e
parentbb0d0c543355b26804e81da284401c59dd453693 (diff)
Built mold
-rw-r--r--STATUS.md4
-rwxr-xr-xrootbuild.sh3
-rw-r--r--sources/mold/mold.spec1
3 files changed, 4 insertions, 4 deletions
diff --git a/STATUS.md b/STATUS.md
index 468648a..4c64bcb 100644
--- a/STATUS.md
+++ b/STATUS.md
@@ -4,13 +4,13 @@ This document tracks which packages can be built and packaged within the chroot.
| ------------ | ---------- | ------------ |
| `busybox` | No | No |
| `bzip2` | Yes | Yes |
-| `cmake` | Yes | No |
+| `cmake` | Yes | Yes |
| `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes |
| `linux` | No | No |
| `llvm` | No | No |
| `make` | Yes | Yes |
-| `mold` | No | No |
+| `mold` | Yes | Yes |
| `musl` | Yes | Yes |
| `xz` | Yes | Yes |
| `zlib` | Yes | Yes | \ No newline at end of file
diff --git a/rootbuild.sh b/rootbuild.sh
index 0aeedfa..aa8f530 100755
--- a/rootbuild.sh
+++ b/rootbuild.sh
@@ -19,7 +19,8 @@ make -j $(nproc) install DESTDIR=/
# missing functionality! ~ahill
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
# built after that. ~ahill
-PACKAGES="bzip2 libressl make musl xz zlib libarchive cmake"
+# NOTE: mold requires CMake to build. ~ahill
+PACKAGES="bzip2 libressl make musl xz zlib libarchive cmake mold"
for pkg in $PACKAGES; do
treetap fetch sources/$pkg/$pkg.spec
treetap build sources/$pkg/$pkg.spec
diff --git a/sources/mold/mold.spec b/sources/mold/mold.spec
index 3db1764..b445320 100644
--- a/sources/mold/mold.spec
+++ b/sources/mold/mold.spec
@@ -6,7 +6,6 @@ SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
SRC_VERSION="2.40.4"
build() {
- echo "DEBUG: $TT_CMAKE_COMMON"
tar xf ../$SRC_FILENAME
cd mold-*/
cmake -B build $TT_CMAKE_COMMON