diff options
author | junghyuk.park <junghyuk.park@samsung.com> | 2018-07-25 18:26:25 +0900 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2019-08-06 12:41:25 +0300 |
commit | ece68c2e99416b5939407d931f17d97036a06b7d (patch) | |
tree | 924ac8992deda9b71b877edbd20d8a243eaff4fc | |
parent | db5e8f3a3f91b1f06a1b3c54f521bacc7ad442c5 (diff) | |
download | coreclr-ece68c2e99416b5939407d931f17d97036a06b7d.tar.gz coreclr-ece68c2e99416b5939407d931f17d97036a06b7d.tar.bz2 coreclr-ece68c2e99416b5939407d931f17d97036a06b7d.zip |
[Tizen] Enable RELRO protection
-rwxr-xr-x[-rw-r--r--] | packaging/coreclr.spec | 4 |
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 |