More stuff
This commit is contained in:
@@ -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,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user