diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-26 23:38:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-26 23:43:29 -0700 |
| commit | 4060ae93fb14b333166ff9d8ba880ff128989d31 (patch) | |
| tree | 747e54aadebde32d3824dd9604ff1d036612429c /doc/vim/syntax/zig.vim | |
| parent | bd5cb3e50e9f9a887cd23a24f8c766914a5c4496 (diff) | |
| download | zig-4060ae93fb14b333166ff9d8ba880ff128989d31.tar.gz zig-4060ae93fb14b333166ff9d8ba880ff128989d31.zip | |
call ld with correct -dynamic-linker argument
It looks like Debian/Ubuntu are doing it correctly.
See https://sourceware.org/glibc/wiki/ABIList
NixOS has a clang patch which disables adding the -dynamic-linker
argument to ld in order to ensure "purity" - that is - that all paths
are in /nix/store/*.
See https://github.com/NixOS/nixpkgs/blob/6b1651928e943bdb0d69a20764fdaae294e92dc1/pkgs/development/compilers/llvm/3.7/clang/purity.patch
So, I changed the environment variable to ZIG_NATIVE_DYNAMIC_LINKER and allow
it to be set to blank. And it only matters when building for the native target,
since you might want to build for other targets without modifying your
environment.
closes #1
Diffstat (limited to 'doc/vim/syntax/zig.vim')
0 files changed, 0 insertions, 0 deletions
