summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-07-25 09:26:25 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commit750c7f1460ee9a5377c9faaa0392c88937ff5aa2 (patch)
tree26ec904d00ca415e0d4f87024765251ba081a389
parentd5748d814005ab2f0b564cc717642493e67db6f4 (diff)
downloadcoreclr-750c7f1460ee9a5377c9faaa0392c88937ff5aa2.zip
coreclr-750c7f1460ee9a5377c9faaa0392c88937ff5aa2.tar.gz
coreclr-750c7f1460ee9a5377c9faaa0392c88937ff5aa2.tar.bz2
[Tizen] Enable RELRO protection
-rwxr-xr-x[-rw-r--r--]packaging/coreclr.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 450f770..3acaa9b 100644..100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -190,7 +190,7 @@ export CXXFLAGS+="-fstack-protector-strong"
# No build native and mscorlib.
%else
# Build native only.
-./build.sh -%{_barch} -%{_buildtype} -numproc %{_numproc} -clang3.8 -skipmscorlib -skipgenerateversion -skipnuget -msbuildonunsupportedplatform cmakeargs -DFEATURE_GDBJIT=TRUE
+./build.sh -%{_barch} -%{_buildtype} -numproc %{_numproc} -clang3.8 -skipmscorlib -skipgenerateversion -skipnuget -msbuildonunsupportedplatform cmakeargs "-DFEATURE_GDBJIT=TRUE -DCLR_ADDITIONAL_LINKER_FLAGS=-Wl,-z,relro"
%endif
%else
%if 0%{skipnative}
@@ -198,7 +198,7 @@ export CXXFLAGS+="-fstack-protector-strong"
./build.sh -%{_barch} -%{_buildtype} -numproc %{_numproc} -skiprestore -skipnative -skipnuget -skipcrossgen -msbuildonunsupportedplatform
%else
# Build native and mscorlib.
-./build.sh -%{_barch} -%{_buildtype} -numproc %{_numproc} -clang3.8 -skipgenerateversion -skiprestore -skipnuget -skipcrossgen -msbuildonunsupportedplatform cmakeargs -DFEATURE_GDBJIT=TRUE
+./build.sh -%{_barch} -%{_buildtype} -numproc %{_numproc} -clang3.8 -skipgenerateversion -skiprestore -skipnuget -skipcrossgen -msbuildonunsupportedplatform cmakeargs "-DFEATURE_GDBJIT=TRUE -DCLR_ADDITIONAL_LINKER_FLAGS=-Wl,-z,relro"
%endif
%endif