diff options
author | Eden Lee <bw1212.lee@samsung.com> | 2018-05-23 16:58:58 +0900 |
---|---|---|
committer | Eden Lee <bw1212.lee@samsung.com> | 2018-05-23 17:14:23 +0900 |
commit | 58f71d65532bed002253026146af668f57e2627c (patch) | |
tree | 83a9b54485e90bcbdc5cc4bc0445894f24043085 | |
parent | 49788d87a96e557ce4c3465b5be865bb808ed518 (diff) | |
download | coreclr-tizen_4.0.tar.gz coreclr-tizen_4.0.tar.bz2 coreclr-tizen_4.0.zip |
Fix build break in Debug build typetizen_4.0
Change-Id: I4af2b9f7b30a8a64c78cbf414ce2574775f5324e
-rw-r--r-- | packaging/coreclr.spec | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec index 66bb4711d2..5e43f26bdc 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} |