From: Hyungju Lee Date: Fri, 23 Dec 2022 06:30:15 +0000 (+0900) Subject: [Tizen] Keep debug symbols X-Git-Tag: accepted/tizen/unified/20221226.020941^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76511de5ed4e697103443d0ece41b3f5c954533d;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git [Tizen] Keep debug symbols --- diff --git a/eng/build.sh b/eng/build.sh index fde42ff3c..39dd00e33 100755 --- a/eng/build.sh +++ b/eng/build.sh @@ -131,7 +131,7 @@ mkdir -p "$__IntermediatesDir" mkdir -p "$__LogsDir" mkdir -p "$__CMakeBinDir" -__ExtraCmakeArgs="$__ExtraCmakeArgs -DCLR_MANAGED_BINARY_DIR=$__RootBinDir/bin -DCLR_BUILD_TYPE=$__BuildType" +__ExtraCmakeArgs="$__CMakeArgs $__ExtraCmakeArgs -DCLR_MANAGED_BINARY_DIR=$__RootBinDir/bin -DCLR_BUILD_TYPE=$__BuildType" # Specify path to be set for CMAKE_INSTALL_PREFIX. # This is where all built native libraries will copied to. diff --git a/packaging/coreclr-diagnostics.spec b/packaging/coreclr-diagnostics.spec index 665fe615a..32dd1573a 100755 --- a/packaging/coreclr-diagnostics.spec +++ b/packaging/coreclr-diagnostics.spec @@ -155,7 +155,7 @@ export TIZEN_LOCAL_BUILD=1 export NUGET_PACKAGES=%{_builddir}/%{name}-%{version}/.packages export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/libicu-57.1 -./build.sh --portablebuild=false -configuration %{_buildtype} -architecture %{_barch} /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false +./build.sh --portablebuild=false -configuration %{_buildtype} -architecture %{_barch} -keepnativesymbols /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false %install %define diagnosticsdir %{_datadir}/dotnet/shared/Microsoft.NETCore.App/%{dotnet_version}/SOS