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.
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