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