Skip to content

Commit 3bb7adb

Browse files
authored
Enable the /PROFILE linker flag for all C++ release binaries (#12313)
## Description This PR enables the `/PROFILE` linker flag so binaries are [vulcan ready](https://eng.ms/docs/products/apiscan/howto/preparinginput/binaries/creating_vulcan_ready_files), and will therefore pass internal compliance requirements. ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why To pass APIScan. ### What Added `<Link><Profile>true</Profile><Link>` to `Release.props`. ## Screenshots N/A ## Testing N/A ## Changelog Should this change be included in the release notes: yes Enabled the `/PROFILE` linker flag for all C++ release binaries
1 parent f19a9e7 commit 3bb7adb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Enable `/PROFILE` linker flag for vulcan compatibility",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

vnext/PropertySheets/Release.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
<Link>
2222
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
23+
<Profile>true</Profile>
2324
</Link>
2425
</ItemDefinitionGroup>
2526

0 commit comments

Comments
 (0)