summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEden Lee <bw1212.lee@samsung.com>2018-05-23 07:58:58 (GMT)
committerEden Lee <bw1212.lee@samsung.com>2018-05-23 08:14:23 (GMT)
commit58f71d65532bed002253026146af668f57e2627c (patch)
tree83a9b54485e90bcbdc5cc4bc0445894f24043085
parent49788d87a96e557ce4c3465b5be865bb808ed518 (diff)
downloadcoreclr-tizen_4.0.zip
coreclr-tizen_4.0.tar.gz
coreclr-tizen_4.0.tar.bz2
Fix build break in Debug build typetizen_4.0refs/changes/95/179895/1
Change-Id: I4af2b9f7b30a8a64c78cbf414ce2574775f5324e
-rw-r--r--packaging/coreclr.spec14
1 files changed, 4 insertions, 10 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 66bb471..5e43f26 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -347,7 +347,6 @@ export CLANG_NO_LIBDIR_SUFFIX=1
%define _buildtype %{dotnet_buildtype}
%define _reldir bin/Product/Linux.%{_barch}.%{_buildtype}
-%define _clrdebug 0
%define _paldebug 0
%if 0%{support_test}
@@ -356,15 +355,6 @@ export CLANG_NO_LIBDIR_SUFFIX=1
%define testopt 'skiptests'
%endif
-%if 0%{_clrdebug}
-export COMPlus_LogEnable=1
-export COMPlus_LogLevel=10
-export COMPlus_LogToFile=1
-export COMPlus_LogFile="clr.log"
-%else
-export COMPlus_LogEnable=0
-%endif
-
%if 0%{_paldebug}
export PAL_DBG_CHANNELS="+all.all"
export PAL_DBG_CHANNELS="+PAL.TRACE:-FILE.ERROR"
@@ -377,7 +367,11 @@ export PAL_DBG_CHANNELS=""
# for armoring request from PM group
# FIXME1: If you find better solution like CMAKE_CXX_FLAGS, please fix this
# FIXME2: This patch does not work on non-arm archtecture
+%if %{dotnet_buildtype} == "Release"
export CXXFLAGS+="-fstack-protector-strong -D_FORTIFY_SOURCE=2"
+%else
+export CXXFLAGS+="-fstack-protector-strong"
+%endif
%endif
%if 0%{skipmscorlib}