diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-23 01:03:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-23 01:56:52 +0900 |
| commit | 5c127a70350c19c99bca388c94a4518d885c3ac3 (patch) | |
| tree | 60a6fe0b29894fde62e391f0825d88916c916e08 /internal/rosa/zlib.go | |
| parent | 8a26521f5b10258f817b69ad71405ff2cba267a8 (diff) | |
internal/rosa: patch header search paths
This removes the need for reference CFLAGS in the standard toolchain.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/zlib.go')
| -rw-r--r-- | internal/rosa/zlib.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/zlib.go b/internal/rosa/zlib.go index 203514a4..4655f19a 100644 --- a/internal/rosa/zlib.go +++ b/internal/rosa/zlib.go @@ -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 |
