static: sqlite, libgpg-error y fontconfig cumplen link=static (8 de 28)
Mismo patrón de libtool: LDFLAGS="-all-static -no-pie" en compile Y en install. El control duro (lista de ficheros vs sellado viejo + 0 NEEDED en TODOS los ejecutables, si no revierte) hizo su trabajo: pcre2 salió del build con pcre2grep y pcre2test todavía dinámicos y se revirtió sola. Sin ese control habría entrado como "arreglada" — es la misma trampa de xz, que devolvía rc=0 con el artefacto mutilado. sqlite b3:235b18d98f18 (8 ficheros) · libgpg-error b3:8ccbe32ccb41 (36) · fontconfig b3:ad960af29ef5 (65) — todas con la lista de ficheros intacta. Quedan 20: 9 con forma de fase distinta (mandoc, libwebp, kbd, parted, sudo, libarchive, lsof, samurai, pkgconf, libcap: van a mano), pcre2 y xz que necesitan otro enfoque, y 5 Rust (helix, yazi, git-absorb, cargo-audit, tuc) que arrastran libgcc_s por crt-static, no por libtool. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
3 archivos · +6 −6
- recipes/fontconfig.toml +2 −2
- recipes/libgpg-error.toml +2 −2
- recipes/sqlite.toml +2 −2
diff --git a/recipes/fontconfig.toml b/recipes/fontconfig.toml
index eda899e1..5adbb841 100644
--- a/recipes/fontconfig.toml
+++ b/recipes/fontconfig.toml
@@ -10,8 +10,8 @@ target = "x86_64-linux-musl"
link = "static"
[build.phases]
configure = "./configure --prefix=/usr --sysconfdir=/etc --disable-shared --enable-static --disable-docs"
-compile = "make"
-install = "make install DESTDIR=/out"
+compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
+install = 'make install DESTDIR=/out LDFLAGS="-all-static -no-pie"'
# libpng+zlib: freetype se compila --with-png, así que freetype2.pc trae `Requires: libpng`
# (y libpng.pc → zlib); sin ellos pkg-config no resuelve freetype2 y ./configure aborta.
[deps]
diff --git a/recipes/libgpg-error.toml b/recipes/libgpg-error.toml
index d2f5f302..9e781c77 100644
--- a/recipes/libgpg-error.toml
+++ b/recipes/libgpg-error.toml
@@ -17,6 +17,6 @@ build = ["make"]
[build.phases]
configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --disable-doc --disable-tests --enable-install-gpg-error-config'
-compile = 'make'
-install = 'make DESTDIR=/out install'
+compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
+install = 'make DESTDIR=/out install LDFLAGS="-all-static -no-pie"'
diff --git a/recipes/sqlite.toml b/recipes/sqlite.toml
index 777bef07..4dfbdf2a 100644
--- a/recipes/sqlite.toml
+++ b/recipes/sqlite.toml
@@ -13,5 +13,5 @@ build = ["make"]
[build.phases]
configure = "./configure --prefix=/usr --disable-shared --enable-static"
-compile = "make"
-install = "make install DESTDIR=/out"
+compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
+install = 'make install DESTDIR=/out LDFLAGS="-all-static -no-pie"'