| author | |
| committer | |
| log | 264dd2eb579e78471c639baf698f7665ea016349 |
| tree | 6d3d108a6b0451de30336250219b458e864f984f |
| parent | e2b9c153bdfa2c5e4005d5957062e0eaf3b339a2 |
Closes #553.1 files changed, 4 insertions(+), 0 deletions(-)
src/link.cpp+4| ... | ... | @@ -150,6 +150,10 @@ static const char *getLDMOption(const ZigTarget *t) { |
| 150 | 150 | if (t->env_type == ZigLLVM_GNUX32) { |
| 151 | 151 | return "elf32_x86_64"; |
| 152 | 152 | } |
| 153 | // Any target elf will use the freebsd osabi if suffixed with "_fbsd". | |
| 154 | if (t->os == OsFreeBSD) { | |
| 155 | return "elf_x86_64_fbsd"; | |
| 156 | } | |
| 153 | 157 | return "elf_x86_64"; |
| 154 | 158 | default: |
| 155 | 159 | zig_unreachable(); |