recipe: basic recipe parsing
This commit is contained in:
@@ -13,8 +13,8 @@ source = tarball(
|
||||
def configure(ctx):
|
||||
ctx.run(
|
||||
ctx.source_dir / "configure",
|
||||
"--prefix=" + cfg.prefix,
|
||||
"--target=" + cfg.target_triple,
|
||||
"--prefix=" + options.prefix,
|
||||
"--target=" + options.target_triple,
|
||||
"--with-sysroot=" + ctx.sysroot_dir,
|
||||
"--with-pic",
|
||||
"--enable-cet",
|
||||
@@ -31,9 +31,9 @@ def configure(ctx):
|
||||
# gprofng's libcollector relies on glibc-specific internals.
|
||||
"--disable-gprofng",
|
||||
env = {
|
||||
"CFLAGS": cfg.host_cflags,
|
||||
"CXXFLAGS": cfg.host_cxxflags,
|
||||
"LDFLAGS": cfg.host_ldflags,
|
||||
"CFLAGS": options.host_cflags,
|
||||
"CXXFLAGS": options.host_cxxflags,
|
||||
"LDFLAGS": options.host_ldflags,
|
||||
})
|
||||
|
||||
_, build, install = autotools()
|
||||
|
||||
Reference in New Issue
Block a user