-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Open
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Description
We are building mac binaries with llvm17 installed from homebrew. The built binaries depend on /opt/homebrew/opt/llvm/lib/c++/libc++.1.dylib
.
We would like the binaries to not depend on the presence of homebrew, therefore we added -static-libstdc++
to the build, but this is ignored:
clang++: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
On Linux this works. What are we doing wrong?
x87-va and aminya
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!