From ece68c2e99416b5939407d931f17d97036a06b7d Mon Sep 17 00:00:00 2001 From: "junghyuk.park" Date: Wed, 25 Jul 2018 18:26:25 +0900 Subject: [Tizen] Enable RELRO protection --- packaging/coreclr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 packaging/coreclr.spec diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec old mode 100644 new mode 100755 index ca9978528b..6b84abc920 --- 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 -- cgit v1.2.3