OSX compilation fails with clang: error: cannot use 'c++-cpp-output' output with multiple -arch options
Open
Nobody has claimed this yet.
macos
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
```
brew install qt5
brew link qt5 --force
qmake
make
```
--> clang: error: cannot use 'c++-cpp-output' output with multiple -arch options
I'm on Mac OS Sierra, 10.12.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with `brew install qt5`, `brew link qt5 --force`, `qmake`, and `make` on the reported macOS setup. Start by inspecting the qmake-generated build configuration and the clang command that uses multiple `-arch` options. Done means the project compiles successfully without the reported `c++-cpp-output` error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100