diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-30 04:00:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-30 04:00:48 +0900 |
| commit | c6a977309cc9e5edd4f55e6b25fc57985ea21746 (patch) | |
| tree | 5e4fef172586e049d828fd818b5514e239871c2b /internal/rosa | |
| parent | 6cb15a041a0b31e49b27aa69bd46444f94a9c153 (diff) | |
internal/rosa/meson: invoke llvm-config via qemu
It does not seem possible to have a native llvm-config that provides
correct information.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/meson.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index 1b71c317..4bac9c3e 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -79,6 +79,11 @@ cpp = [ '--end-no-unused-arguments' ] pkg-config = ['pkg-config'] +llvm-config = [ + 'qemu-`+t.linuxArch()+`', + '-L', '`+Prefix+`/`+arch+`', + '`+Prefix+`/`+arch+Prefix+`/bin/llvm-config' + ] exe_wrapper = ['qemu-`+t.linuxArch()+`', '-L', '`+Prefix+`/`+arch+`'] # Other binaries |
