diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-28 03:05:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-28 04:12:42 +0900 |
| commit | 53e9dd6aa933c1a5b43da83a88d5e07bf27285bf (patch) | |
| tree | 75d23f52901368c2e9764df631d37b8eb7484723 /internal/rosa/package/gcc | |
| parent | 7e3ba55cdc4d4a7c19deb65879e8abbb12a8e458 (diff) | |
internal/rosa: do not hard code prefix
This allows the prefix to be changed, at runtime if needed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/gcc')
| -rw-r--r-- | internal/rosa/package/gcc/package.az | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/package/gcc/package.az b/internal/rosa/package/gcc/package.az index 5f618ba7..da669713 100644 --- a/internal/rosa/package/gcc/package.az +++ b/internal/rosa/package/gcc/package.az @@ -41,8 +41,8 @@ package gcc { exclusive = true; early = ` -ln -s system/lib / -ln -s system/lib /work/ +ln -s `+prefixR+`/lib / +ln -s `+prefixR+`/lib /work/ `; exec = make { @@ -54,7 +54,7 @@ ln -s system/lib /work/ "with-gnu-ld"; "with-system-zlib"; "enable-languages": "c,c++,go"; - "with-native-system-header-dir": "/system/include"; + "with-native-system-header-dir": prefix+"/include"; "with-multilib-list": arch { amd64, arm64 = "''"; |
