Skip to content

Commit

Permalink
elf: remove -fPIC flag from static-ifunc test
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jul 11, 2023
1 parent cbcdaf4 commit 18dcfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/elf.zig
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ fn testIfuncStatic(b: *Build, opts: Options) *Step {
\\ return 0;
\\}
, "main.c");
exe.addArgs(&.{ "-fPIC", "-static" });
exe.addArgs(&.{"-static"});

const run = exe.run();
run.expectStdOutEqual("Hello world\n");
Expand Down

0 comments on commit 18dcfec

Please sign in to comment.