More stuff

This commit is contained in:
2026-05-18 00:49:24 +02:00
parent 695f30d678
commit 98f3fee099
15 changed files with 333 additions and 132 deletions
+4 -5
View File
@@ -13,18 +13,17 @@ source = {
host_deps = ["binutils", "gcc"]
def configure(ctx):
triple = ctx.options["target_triple"]
ctx.run(
[
ctx.source_dir + "/configure",
"--prefix=/usr",
"--syslibdir=/lib",
"--target=" + triple,
"--target=" + OPTIONS.target_triple,
],
env = {
"CC": triple + "-gcc",
"CFLAGS": ctx.options["cflags"],
"LDFLAGS": ctx.options["ldflags"],
"CC": OPTIONS.target_triple + "-gcc",
"CFLAGS": OPTIONS.cflags,
"LDFLAGS": OPTIONS.ldflags,
},
)