diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2021-03-14 10:52:35 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-14 17:26:24 -0400 |
| commit | a502c160cd51ce3de80b3be945245b7a91967a85 (patch) | |
| tree | 3da5d0105e43b3f92906ef02261afee449840c82 /src/codegen/llvm | |
| parent | 27d07c6c4de36af1186392d4bec321825403860e (diff) | |
| download | zig-a502c160cd51ce3de80b3be945245b7a91967a85.tar.gz zig-a502c160cd51ce3de80b3be945245b7a91967a85.zip | |
macho: fix various linker flags
fix drivers: zig {cc,c++}
- `-dynamiclib` is an alias to `-shared`
- associate `-dynamiclib` with zig `.shared` semantics
fix drivers: zig {cc,c++,build-lib,build-exe}
- use `-dynamic` for {exe,dylib}
- for dylib this fixes a regression
- for exe this replaces incorrect use of `-static`
Diffstat (limited to 'src/codegen/llvm')
0 files changed, 0 insertions, 0 deletions
