This commit is contained in:
2026-05-20 00:30:38 +02:00
parent 312750c61b
commit 16d81f509f
36 changed files with 13292 additions and 273 deletions
+3 -4
View File
@@ -13,7 +13,7 @@ source = tarball_source(
def configure(ctx):
configure_args = [
ctx.source_dir / "configure",
"--prefix=" + ctx.prefix,
"--prefix=/",
"--target=" + options.target_triple,
"--with-sysroot=" + ctx.sysroot,
"--with-pic",
@@ -28,10 +28,9 @@ def configure(ctx):
"--enable-threads",
"--disable-nls",
"--disable-werror",
# gprofng's libcollector relies on glibc-specific internals.
"--disable-gprofng",
]
# gprofng's libcollector relies on glibc-specific internals.
if options.libc == "musl":
configure_args.append("--disable-gprofng")
ctx.run(configure_args, env = {
"CFLAGS": options.host_cflags,