More stuff, didn't test

This commit is contained in:
Marvin Friedrich
2026-05-19 18:12:11 +02:00
parent b71906f402
commit 312750c61b
32 changed files with 978 additions and 170 deletions
+8 -3
View File
@@ -3,10 +3,15 @@ container_image = "local/distro-builder:latest"
container_dockerfile = "Dockerfile"
arch = "x86_64"
libc = "musl"
libc = "glibc"
if libc == "glibc":
env = "gnu"
else:
env = libc
host_cflags = "-O2 -pipe"
host_cxxflags = ""
host_cxxflags = host_cflags
host_ldflags = "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
target_cflags = host_cflags
@@ -22,7 +27,7 @@ if arch == "x86_64":
options = dict(
target_arch = arch,
target_triple = f"{arch}-linux-{libc}",
target_triple = f"{arch}-linux-{env}",
host_cflags = host_cflags,
host_cxxflags = host_cxxflags,