From 555273b15f369d1c32e04a79417fff2f96fcfd3c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 23 Oct 2026 14:21:42 +0900 Subject: internal/rosa/make: optionally omit --with-sysroot Similar to the other autoconf-specific flags, this makes some configure scripts pretending to be autoconf unhappy. Signed-off-by: Ophestra --- internal/rosa/state.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index aba5c312..c8163ca2 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -874,7 +874,7 @@ func (s *S) getFrame() azalea.Frame { args azalea.FArgs, ) (v any, set bool, err error) { var attr MakeHelper - defaults, chdir, checkEarly := true, true, true + defaults, chdir, checkEarly, sysroot := true, true, true, true attr.Configure, attr.Check = []KV{}, []string{} if err = args.Apply(map[unique.Handle[azalea.Ident]]any{ k("early"): &attr.Early, @@ -887,6 +887,7 @@ func (s *S) getFrame() azalea.Frame { k("configureName"): &attr.ConfigureName, k("forceAutoconf"): &attr.ForceAutoconf, k("defaultName"): &attr.DefaultName, + k("sysroot"): &sysroot, k("autoTarget"): &attr.AutoTarget, k("configure"): &attr.Configure, k("host"): &attr.Host, @@ -903,6 +904,7 @@ func (s *S) getFrame() azalea.Frame { attr.SkipConfigure = attr.Configure == nil attr.SkipCheck = attr.Check == nil attr.SkipCheckEarly = !checkEarly + attr.OmitSysroot = !sysroot v = &attr set = true -- cgit v1.3.1