Skip to content
Snippets Groups Projects
Commit f84df20e authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Austin Seipp
Browse files

arm: Force non-executable stack (part 2)


This was supposed to be part of commit 63a10bbc but I pushed
from the wrong machine. This fixes cross compiling to arm.

Signed-off-by: default avatarErik de Castro Lopo <erikd@mega-nerd.com>
(cherry picked from commit 1a4374c1)
parent 95921e6c
No related merge requests found
......@@ -571,7 +571,7 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
# gcc to link using the gold linker.
# Forcing LD to be ld.gold is done in FIND_LD m4 macro.
$3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
$4="$$4 -z,noexecstack"
$4="$$4 -z noexecstack"
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment