diff options
| author | Alain Greppin <agreppin@chilibi.ch> | 2024-04-17 12:48:12 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-04-29 12:48:56 -0700 |
| commit | 956f53beb09c07925970453d4c178c6feb53ba70 (patch) | |
| tree | d3f48c4dbce3deb29dc106dfcfb149b52062b95a /lib/std/Build/Step/WriteFile.zig | |
| parent | fc45e5b39c0e09dcf69cc65a92375bef0c9593cb (diff) | |
| download | zig-956f53beb09c07925970453d4c178c6feb53ba70.tar.gz zig-956f53beb09c07925970453d4c178c6feb53ba70.zip | |
NetBSD: avoid ldd error on executables. zig cc produce 4 PT_LOAD segments,
wheras on NetBSD, only 2 PT_LOAD are usually produced by other compilers
(tested with host gcc and clang).
$ ldd -v main_4segs
.../main_4segs: wrong number of segments (4 != 2)
.../main_4segs: invalid ELF class 2; expected 1
Diffstat (limited to 'lib/std/Build/Step/WriteFile.zig')
0 files changed, 0 insertions, 0 deletions
