diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-06-04 21:45:31 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-06-06 23:42:14 -0700 |
| commit | 0bf8617d963dc432ed0204b10285cc414becf2fd (patch) | |
| tree | b4a28f10bd66183cd949e6f0fbb4a786bfc1aa04 /test/tests.zig | |
| parent | 178ee8aef1b9f765da916f3e1e4cab66437f8e0a (diff) | |
| download | zig-0bf8617d963dc432ed0204b10285cc414becf2fd.tar.gz zig-0bf8617d963dc432ed0204b10285cc414becf2fd.zip | |
x86_64: add support for pie executables
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/tests.zig b/test/tests.zig index c45e3ef561..ab42dbba26 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -1598,7 +1598,9 @@ const c_abi_targets = blk: { break :blk [_]CAbiTarget{ // Native Targets - .{}, + .{ + .use_llvm = true, + }, // Linux Targets @@ -1837,7 +1839,6 @@ const c_abi_targets = blk: { .abi = .musl, }, .use_llvm = false, - .use_lld = false, .c_defines = &.{"ZIG_BACKEND_STAGE2_X86_64"}, }, .{ @@ -1848,7 +1849,6 @@ const c_abi_targets = blk: { .abi = .musl, }, .use_llvm = false, - .use_lld = false, .strip = true, .c_defines = &.{"ZIG_BACKEND_STAGE2_X86_64"}, }, @@ -1860,7 +1860,6 @@ const c_abi_targets = blk: { .abi = .musl, }, .use_llvm = false, - .use_lld = false, .pic = true, .c_defines = &.{"ZIG_BACKEND_STAGE2_X86_64"}, }, @@ -1870,6 +1869,7 @@ const c_abi_targets = blk: { .os_tag = .linux, .abi = .musl, }, + .use_llvm = true, }, .{ .target = .{ @@ -1877,6 +1877,7 @@ const c_abi_targets = blk: { .os_tag = .linux, .abi = .muslx32, }, + .use_llvm = true, }, // WASI Targets |
