diff --git a/repo-projects/runtime.proj b/repo-projects/runtime.proj
index 67959e981d..d622ddc0c1 100644
--- a/repo-projects/runtime.proj
+++ b/repo-projects/runtime.proj
@@ -22,10 +22,11 @@
$(NETCoreSdkPortableRuntimeIdentifier.Substring(0, $(_platformIndex)))
$(StandardSourceBuildArgs)
+ $(BuildCommandArgs) --arch ppc64le
$(BuildCommandArgs) /p:TargetRid=$(OverrideTargetRid)
$(BuildCommandArgs) /p:RuntimeOS=$(RuntimeOS)
$(BuildCommandArgs) /p:BaseOS=$(BaseOS)
- $(BuildCommandArgs) /p:SourceBuildNonPortable=true
+ $(BuildCommandArgs) /p:SourceBuildNonPortable=false
$(BuildCommandArgs) /p:UsingToolMicrosoftNetCompilers=false
$(StandardSourceBuildCommand) $(BuildCommandArgs)
diff --git a/src/installer/src/redist/targets/GenerateLayout.targets b/src/installer/src/redist/targets/GenerateLayout.targets
index 899b46f78e..bfecf18e87 100644
--- a/src/installer/src/redist/targets/GenerateLayout.targets
+++ b/src/installer/src/redist/targets/GenerateLayout.targets
@@ -38,7 +38,7 @@
$(HostRid)
$(OSName)-$(Architecture)
- $(HostRid.Replace('mariner.2.0', 'cm.2'))
+
-internal
diff --git a/src/runtime/eng/native/build-commons.sh b/src/runtime/eng/native/build-commons.sh
index d9eb04cd8a..3dcae0f254 100755
--- a/src/runtime/eng/native/build-commons.sh
+++ b/src/runtime/eng/native/build-commons.sh
@@ -514,6 +514,7 @@ while :; do
shift
done
+__PortableBuild=1
if [[ -z "$__HostArch" ]]; then
__HostArch=$__TargetArch
diff --git a/src/runtime/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj b/src/runtime/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj
index 7122c81034..924b1e7d45 100644
--- a/src/runtime/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj
+++ b/src/runtime/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj
@@ -11,7 +11,6 @@
$(RuntimeBinDir)ilc-published/
- false
false
true
diff --git a/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
index ef1b82f537..be420406a1 100644
--- a/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
+++ b/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2.csproj
@@ -5,11 +5,9 @@
$(RuntimeBinDir)crossgen2
- false
true
- linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;freebsd-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64
- $(PackageRID)
+ linux-ppc64le;linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;freebsd-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64
false
true