summaryrefslogtreecommitdiff
path: root/packaging/coreclr.spec
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-07-25 18:26:25 +0900
committerAlexander Soldatov/AI Ecosystem Lab /SRR/Staff Engineer/삼성전자 <soldatov.a@samsung.com>2019-02-14 20:24:48 +0300
commiteed74eadb7f80fb27e48ad3f45f55834235281fc (patch)
treef1b20cdde04fd1954aa8e115e42bb1ab2ee769e6 /packaging/coreclr.spec
parent1c98afe84c24bd23ade0eb38077c760cf6cb14b6 (diff)
downloadcoreclr-eed74eadb7f80fb27e48ad3f45f55834235281fc.tar.gz
coreclr-eed74eadb7f80fb27e48ad3f45f55834235281fc.tar.bz2
coreclr-eed74eadb7f80fb27e48ad3f45f55834235281fc.zip
[Tizen] Enable RELRO protection
Diffstat (limited to 'packaging/coreclr.spec')
-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 ca9978528b..6b84abc920 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