internal/rosa: patch header search paths
All checks were successful
Test / Create distribution (push) Successful in 49s
Test / Sandbox (push) Successful in 2m35s
Test / ShareFS (push) Successful in 4m0s
Test / Hpkg (push) Successful in 4m41s
Test / Sandbox (race detector) (push) Successful in 5m6s
Test / Hakurei (race detector) (push) Successful in 6m11s
Test / Hakurei (push) Successful in 2m39s
Test / Flake checks (push) Successful in 3m50s

This removes the need for reference CFLAGS in the standard toolchain.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-23 01:03:16 +09:00
parent 8a26521f5b
commit 5c127a7035
6 changed files with 51 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ func (t Toolchain) NewZlib() pkg.Artifact {
t.NewMake(),
}, nil, nil, `
cd "$(mktemp -d)"
CFLAGS="${CFLAGS} -fPIC" /usr/src/zlib/configure \
CC="clang -fPIC" /usr/src/zlib/configure \
--prefix /system
make "-j$(nproc)" test
make DESTDIR=/work install