Commit 1a4374c1 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

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: Erik de Castro Lopo's avatarErik de Castro Lopo <erikd@mega-nerd.com>
parent cdba9732
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment