aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-23 01:03:16 +0900
committerOphestra <cat@gensokyo.uk>2026-01-23 01:56:52 +0900
commit5c127a70350c19c99bca388c94a4518d885c3ac3 (patch)
tree60a6fe0b29894fde62e391f0825d88916c916e08 /internal/rosa/python.go
parent8a26521f5b10258f817b69ad71405ff2cba267a8 (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/python.go')
-rw-r--r--internal/rosa/python.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index 8fbc74fd..7c059272 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -46,7 +46,8 @@ chmod -R +w /usr/src/python/
export HOME="$(mktemp -d)"
cd "$(mktemp -d)"
/usr/src/python/configure \
- --prefix=/system
+ --prefix=/system \
+ --build="${ROSA_TRIPLE}"
make "-j$(nproc)"
make test
make DESTDIR=/work install