sergio/takana
> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…
Etapa G: prerequisitos de Mesa — mako/markupsafe + PIC en libs base C
1# expat 2.8.1 — parser XML stream (C). Lib base: dep de cola C (fontconfig, dbus, etc.) y crates -sys.
2# De-Alpinizada (Etapa G): compiler=gcc, configure-split explícito, estático. Sin deps externas.
3name = "expat"
4version = "2.8.1"
5
6[source]
7tarball = "https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.xz"
8sha256 = "10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0"
9
10[build]
11compiler = "gcc"
12target = "x86_64-linux-musl"
13link = "static"
14flags = []
15
16[build.phases]
17# --with-pic: el .a estático lleva objetos PIC ⇒ enlazable dentro de .so (Mesa liga libexpat en
18# libgallium/xmlconfig; sin PIC: «R_X86_64_PC32 ... recompile with -fPIC»). PIC es superset.
19configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-pic --without-docbook'
20compile = 'make'
21install = 'make DESTDIR=/out install'