summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-06-24 11:03:43 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2016-06-24 11:03:43 +0900
commit92857e35087bbb0816bdd19bcaf687adb0603392 (patch)
tree975ad3841cfbe7b44efcbcf7ea7a591773e21c89
parenta2ef79f3f784c3c04f94bbccb1e8bfb015c6b571 (diff)
downloadkmod-92857e35087bbb0816bdd19bcaf687adb0603392.tar.gz
kmod-92857e35087bbb0816bdd19bcaf687adb0603392.tar.bz2
kmod-92857e35087bbb0816bdd19bcaf687adb0603392.zip
Applied ASLR (CFLAG=-fPIE LDFLAG=-pi2) Change-Id: I0f522261553ca9b2b150805566b19d68f4de7c8b Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--packaging/kmod.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/kmod.spec b/packaging/kmod.spec
index 0e78cb4..6b57cae 100644
--- a/packaging/kmod.spec
+++ b/packaging/kmod.spec
@@ -77,7 +77,7 @@ cp %{SOURCE1001} .
--includedir=%{_includedir}/%{name}-%{version} \
--with-rootlibdir=%{_libdir} \
--bindir=%{_bindir}
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} CFLAGS+="-fPIE" LDFLAGS+="-pie"
%check
%__make check