req. from : security part
req. reason : https://wiki.ubuntu.com/SecurityTeam/Roadmap/ExecutableStacks
[before]
$ readelf -l libffi.so.6 | grep STACK
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x10
[after]
$ readelf -l libffi.so.6 | grep STACK
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
Change-Id: If29268f7905298185ab639b3bb7a7b3c4080b3b7
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
%build
+export LDFLAGS+="-Wl,-z,noexecstack"
%reconfigure --disable-static
make %{?_smp_mflags}