More stuff, didn't test
This commit is contained in:
+8
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user