Skip to content

Commit

Permalink
Try adding execstack to linker options too
Browse files Browse the repository at this point in the history
  • Loading branch information
thurstond committed Jan 25, 2025
1 parent ccad783 commit 70d0801
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zorg/buildbot/builders/sanitizers/buildbot_qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ function configure_scudo_compiler_rt {
local c_flags="-fPIC"
if [[ "${arch}" =~ "mips*" ]]
then
linker_flags="-latomic -Wl,-z,notext -Wno-unused-command-line-argument"
linker_flags="-latomic -Wl,-z,notext -Wno-unused-command-line-argument -Wl,-z,execstack"
c_flags+=" -Wl,-z,execstack"
else
c_flags+=" "
fi
local cxx_flags="${c_flags}"

Expand Down

0 comments on commit 70d0801

Please sign in to comment.