gioser

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…

TOML 1561Shell 203Rust 109Markdown 993728 Definitions

llvm18: -include cstdint (gcc/clang 15 no arrastran <cstdint> ⇒ uint64_t undeclared en SmallVector.h)

LLVM 18.1.8 usa uint64_t sin incluir <cstdint>; libstdc++ 15 ya no lo trae transitivo.
Fix estándar upstream vía flag. Pasó de morir en [14/2378] a compilar limpio.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

8556ef9e1c4823773a1f07e66669366d8e10db33 · by sergio · (3 months ago) · parent ebb3fcdb0 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +2 −0

diff --git a/recipes/llvm18.toml b/recipes/llvm18.toml
index 4c2bd6ec..b066c852 100644
--- a/recipes/llvm18.toml
+++ b/recipes/llvm18.toml
@@ -27,6 +27,8 @@ CC=gcc CXX='g++ -static-libstdc++ -static-libgcc' \
 cmake -S llvm -B build -G Ninja \
   -DCMAKE_BUILD_TYPE=Release \
   -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_CXX_FLAGS="-include cstdint" \
+  -DCMAKE_C_FLAGS="-include stdint.h" \
   -DLLVM_TARGETS_TO_BUILD=X86 \
   -DLLVM_BUILD_LLVM_DYLIB=ON \
   -DLLVM_LINK_LLVM_DYLIB=ON \