Issue 76945
Summary -static-libstdc++ unused on macOS
Labels new issue
Assignees
Reporter h-2
    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?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to