Skip to content

Commit

Permalink
Quieten GNU ld about something I don't understand.
Browse files Browse the repository at this point in the history
  • Loading branch information
katef committed Jun 28, 2024
1 parent e66e6cf commit b0d1de6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/retest/runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,12 @@ compile(enum implementation impl,
return 0;
}

if (0 != systemf("%s %s -shared %s -o %s",
if (0 != systemf("%s %s -shared %s %s -o %s",
cc ? cc : "gcc", cflags ? cflags : "",

// for "missing .note.GNU-stack section implies executable stack"
"-Wl,-z,noexecstack",

tmp_o, tmp_so))
{
return 0;
Expand Down

0 comments on commit b0d1de6

Please sign in to comment.