Issue Details

Number
30206
Title
build: make macOS build Clang only
Description
It should be possible to have a macOS (release) build environment that only uses Clang, and has no GCC toolchain installed. Currently that's not possible, because Qt still reaches out to `g++`. This can be demo'd by Guix building this branch: https://github.com/fanquake/bitcoin/tree/guix_macos_no_gcc, which removes the `gcc-toolchain` package, and associated build infra from the macOS env. It will fail with: ```bash Configuring qt... Creating qmake... make[1]: Entering directory '/bitcoin/depends/work/build/arm64-apple-darwin/qt/5.15.13-35fa99bb44b/qtbase/qmake' make[1]: g++: No such file or directory make[1]: *** [Makefile:250: main.o] Error 127 ``` TODO: - [ ] Make Qt work properly with just Clang.
URL
https://github.com/bitcoin/bitcoin/issue/30206
Closed by
Back to List