Blame SOURCES/runtime-61442-disable-werror.patch

417dba
From f41c06ba040adf1930156340c5b03d9864d8a1d4 Mon Sep 17 00:00:00 2001
417dba
From: Omair Majid <omajid@redhat.com>
417dba
Date: Wed, 10 Nov 2021 17:54:45 -0500
417dba
Subject: [PATCH] The 6.0 branch is no longer pre-release
417dba
417dba
This has limited affects, but it should have been set to false since 6.0
417dba
is now stable/released.
417dba
417dba
The one difference it makes is that -Werror is disabled when building
417dba
native code.
417dba
---
417dba
 Directory.Build.props              | 2 +-
417dba
 eng/native/configureplatform.cmake | 2 +-
417dba
 2 files changed, 2 insertions(+), 2 deletions(-)
417dba
417dba
diff --git a/Directory.Build.props b/Directory.Build.props
417dba
index f19ea9208c2c..5cb87bb7c257 100644
417dba
--- a/Directory.Build.props
417dba
+++ b/Directory.Build.props
417dba
@@ -255,7 +255,7 @@
417dba
     <PackageReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</PackageReleaseNotes>
417dba
     
417dba
     
417dba
-    <IsPrerelease>true</IsPrerelease>
417dba
+    <IsPrerelease>false</IsPrerelease>
417dba
     <IsPrivateAssembly>$(MSBuildProjectName.Contains('Private'))</IsPrivateAssembly>
417dba
     
417dba
     <SuppressFinalPackageVersion Condition="'$(SuppressFinalPackageVersion)' == '' and $(IsPrivateAssembly)">true</SuppressFinalPackageVersion>
417dba
diff --git a/eng/native/configureplatform.cmake b/eng/native/configureplatform.cmake
417dba
index 519431772004..af1c88bce5b6 100644
417dba
--- a/eng/native/configureplatform.cmake
417dba
+++ b/eng/native/configureplatform.cmake
417dba
@@ -2,7 +2,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/functions.cmake)
417dba
 
417dba
 # If set, indicates that this is not an officially supported release
417dba
 # Keep in sync with IsPrerelease in Directory.Build.props
417dba
-set(PRERELEASE 1)
417dba
+set(PRERELEASE 0)
417dba
 
417dba
 #----------------------------------------
417dba
 # Detect and set platform variable names