Skip to content

Commit

Permalink
Enable the /PROFILE linker flag for all C++ release binaries (#12313)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
jonthysell committed Dec 5, 2023
1 parent f19a9e7 commit 3bb7adb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Enable `/PROFILE` linker flag for vulcan compatibility",
"packageName": "react-native-windows",
"email": "jthysell@microsoft.com",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions vnext/PropertySheets/Release.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<Link>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<Profile>true</Profile>
</Link>
</ItemDefinitionGroup>

Expand Down

0 comments on commit 3bb7adb

Please sign in to comment.